This is the same as the QGIS3 changes only ported over to QGIS2, it wasn't terribly difficult and it seems to work for me. I didn't have the advantage of pyCharm for this so I basically looked for issues fixed them, run it, addressed the errors, rinse and repeat until the tool worked in QGIS2.
This is the same as the QGIS3 changes only ported over to QGIS2, it wasn't terribly difficult and it seems to work for me. I didn't have the advantage of pyCharm for this so I basically looked for issues fixed them, run it, addressed the errors, rinse and repeat until the tool worked in QGIS2.![image](https://user-images.githubusercontent.com/26797978/74240727-ecdbbc00-4cb0-11ea-9c9d-28354e95b63a.png)