Skip to content

Commit

Permalink
Fix #589 fix error when downloading style from repository
Browse files Browse the repository at this point in the history
  • Loading branch information
xavipuigc committed Jun 16, 2021
1 parent 1c25ba8 commit 6cab92e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions exe/webui/stylemanagerpage.py
Original file line number Diff line number Diff line change
Expand Up @@ -437,8 +437,7 @@ def errorDownload(value):
context = None
d = threads.deferToThread(
urlretrieve, url, filename_path,
lambda n, b, f: self.progressDownload(n, b, f, self.client),
context=context)
lambda n, b, f: self.progressDownload(n, b, f, self.client))
d.addCallbacks(successDownload, errorDownload)

# On success or on error, get back to repository styles list
Expand Down

0 comments on commit 6cab92e

Please sign in to comment.