Skip to content

Commit

Permalink
2.1.x update bug fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
sthoo authored and sthoo committed Aug 30, 2018
1 parent 5931fc6 commit 19ead15
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion addons21/fastwq/libs/ankihub.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,8 @@ def finish(self):


def installZipFile(data, fname):
base = os.path.join(mw.pm.addonFolder(), 'fastwq')
#base = os.path.join(mw.pm.addonFolder(), 'fastwq')
base = os.path.realpath(os.path.join(os.path.dirname(os.path.realpath(__file__)), '../'))
if fname.endswith(".py"):
path = os.path.join(base, fname)
with open(path, "wb") as file:
Expand Down

0 comments on commit 19ead15

Please sign in to comment.