Use plugin_dir variable.
This commit is contained in:
parent
62ae824b36
commit
4e0fea1d8b
1 changed files with 1 additions and 1 deletions
|
@ -24,7 +24,7 @@ sys.path.append(plugin_dir) # To able to load geoip lib
|
|||
|
||||
loc_cache = {}
|
||||
if "_" not in locals():
|
||||
_ = Translate("plugins/Sidebar/languages/")
|
||||
_ = Translate(plugin_dir + "/languages/")
|
||||
|
||||
|
||||
@PluginManager.registerTo("UiRequest")
|
||||
|
|
Loading…
Reference in a new issue