Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add missing import for mask_sig in bandcamp.py #9

Merged
merged 1 commit into from
Oct 16, 2023

Conversation

zliebersbach
Copy link
Contributor

Fix the following issue when an error is thrown in self._request:

date stream content
2023/10/16 16:03:23 stdout NameError: name 'mask_sig' is not defined
2023/10/16 16:03:23 stdout ^^^^^^^^
2023/10/16 16:03:23 stdout raise BandcampError(f'Failed to make HTTP request to {mask_sig(url)}: {e}') from e
2023/10/16 16:03:23 stdout File "/usr/local/lib/python3.11/dist-packages/bandcampsync/bandcamp.py", line 89, in _request
2023/10/16 16:03:23 stdout ^^^^^^^^^^^^^^^^^^^^^^^^^
2023/10/16 16:03:23 stdout soup = self._request('get', url)
2023/10/16 16:03:23 stdout File "/usr/local/lib/python3.11/dist-packages/bandcampsync/bandcamp.py", line 147, in verify_authentication
2023/10/16 16:03:23 stdout bandcamp.verify_authentication()
2023/10/16 16:03:23 stdout File "/usr/local/lib/python3.11/dist-packages/bandcampsync/init.py", line 19, in do_sync
2023/10/16 16:03:23 stdout do_sync(cookies_path, cookies, dir_path, media_format_env, temp_dir)
2023/10/16 16:03:23 stdout File "/usr/local/bin/bandcampsync-service", line 74, in 

@meeb
Copy link
Owner

meeb commented Oct 16, 2023

Ah, thanks! I think I need to go and kick my linter...

@meeb meeb merged commit 7264e86 into meeb:main Oct 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants