Skip to content
This repository has been archived by the owner on Feb 8, 2023. It is now read-only.

Commit

Permalink
removing decoding for the url for log
Browse files Browse the repository at this point in the history
`.decode` was throwing an error on the url string. The `urllib.parse.unquote` seems to handle decoding strings fine on its own.
  • Loading branch information
joncrain authored Jan 6, 2020
1 parent 41e6d23 commit 1b84e6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion payload/Library/nudge/Resources/nudge
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,7 @@ def main():
# If the file doesn't exist, grab it and wait half a second to save.
while not os.path.isfile(json_path):
nudgelog(('Starting download: %s' % (urllib.parse.unquote(
json_data['url']).decode('utf8'))))
json_data['url']))))
downloadfile(json_data)
time.sleep(0.5)
else:
Expand Down

0 comments on commit 1b84e6b

Please sign in to comment.