[Qgis-developer] PluginBuilder writes a wrong import inside .py

Geo DrinX geodrinx at gmail.com
Tue Nov 3 01:49:24 PST 2015


Hello all,


probably you just know, but I found that "PluginBuilder"  plugin for QGIS
writes at line 26  of the main  .py  file the following code:


import resources


I think this is wrong,  because in run it returns a python error.


The correct code is:


import resources_rc


I hope this helps to create new and useful plugins .


Thank you in advance for attention

Roberto
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20151103/43deb11e/attachment.html>


More information about the Qgis-developer mailing list