[Gajim-devel] Per profile plugin dirs patch

Thilo Molitor thilo at eightysoft.de
Sun Mar 4 22:22:05 CET 2018


In gajim master branch separate plugin directories per profile doesn't work as 
expected anymore (one cannot install plugins anymore).
This small patch fixes the problem:

--- -	2018-03-04 02:04:46.779618319 +0100
+++ /usr/lib/python3/dist-packages/gajim/data/plugins/plugin_installer/
plugin_installer.py	2018-03-04 02:04:43.713257743 +0100
@@ -528,7 +528,7 @@
             local_dir = os.path.join(user_dir, remote_dir)
             if not os.path.isdir(local_dir):
                 os.mkdir(local_dir)
-            local_dir = os.path.split(user_dir)[0]
+            local_dir = os.path.dirname(local_dir)
 
             # downloading zip file
             try:



More information about the Gajim-devel mailing list