diff --git a/__init__.py b/__init__.py index b3632b7..3373fc1 100644 --- a/__init__.py +++ b/__init__.py @@ -9,7 +9,8 @@ def classFactory(iface): HOME = expanduser("~") LOCALE = QSettings().value("locale/userLocale")[0:2] PLUGIN_FOLDER = 'batch_gps_importer' -PLUGIN_DIR = '{}/.qgis2/python/plugins/{}'.format(HOME, PLUGIN_FOLDER) +PLUGIN_DIR = '{}/AppData/Roaming/QGIS/QGIS3/profiles/default/python/plugins/{}'.\ + format(HOME, PLUGIN_FOLDER) if LOCALE.startswith('en_'): LOCALE = 'en' DYNAMIC_HELP = '{}/help/dynamic/{}'.format(PLUGIN_DIR, LOCALE)