lutraconsulting / qgis-discovery-plugin

Provides search / gazetteer functionality in QGIS using PostGIS-based data
http://www.lutraconsulting.co.uk/products/discovery/
GNU General Public License v2.0
15 stars 16 forks source link

QVariant has no len() #69

Open reginaldc opened 4 years ago

reginaldc commented 4 years ago

I installed Discovery and got every time the errormessage mentioned in the title when I tried to configure the plugin. I changed line 75 in dbutils.py to

if len(str((username))) > 0:

and now it works as it should.

Regards,