Skip to content

Commit

Permalink
Updated plugin path
Browse files Browse the repository at this point in the history
  • Loading branch information
wondie committed Sep 21, 2018
1 parent c6d4a52 commit ce78d87
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion __init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit ce78d87

Please sign in to comment.