Skip to content

Commit

Permalink
autopep8 action fixes (#15)
Browse files Browse the repository at this point in the history
Co-authored-by: Emersont1 <[email protected]>
  • Loading branch information
github-actions[bot] and Emersont1 authored Oct 20, 2021
1 parent 063739c commit 1f4d68a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion audioboom/channel.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ def save_episode(self, path, ep, root):
f.write(i.content)

# Does not download the audios, just outputs a list to be used in download_tool.py
#with open(join(path, "audio.mp3"), 'wb') as f:
# with open(join(path, "audio.mp3"), 'wb') as f:
# pass
# a = requests.get(ep.mp3, allow_redirects=True)
# f.write(a.content)
Expand Down
2 changes: 1 addition & 1 deletion download_tool.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

for line in sys.stdin:
[url, path] = line.split()

a = requests.get(url, allow_redirects=True)
if a.status_code != 200 or a.headers['Content-length'] == 94:
print(f"{url}\t{path}")
Expand Down

0 comments on commit 1f4d68a

Please sign in to comment.