We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5931fc6 commit 19ead15Copy full SHA for 19ead15
addons21/fastwq/libs/ankihub.py
@@ -81,7 +81,8 @@ def finish(self):
81
82
83
def installZipFile(data, fname):
84
- base = os.path.join(mw.pm.addonFolder(), 'fastwq')
+ #base = os.path.join(mw.pm.addonFolder(), 'fastwq')
85
+ base = os.path.realpath(os.path.join(os.path.dirname(os.path.realpath(__file__)), '../'))
86
if fname.endswith(".py"):
87
path = os.path.join(base, fname)
88
with open(path, "wb") as file:
0 commit comments