From 1f4d68ae84297089262f312a9bc24a49593c53fb Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 20 Oct 2021 14:09:40 +0100 Subject: [PATCH] autopep8 action fixes (#15) Co-authored-by: Emersont1 --- audioboom/channel.py | 2 +- download_tool.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/audioboom/channel.py b/audioboom/channel.py index 327efdc..a01e402 100644 --- a/audioboom/channel.py +++ b/audioboom/channel.py @@ -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) diff --git a/download_tool.py b/download_tool.py index 587b0a1..8cd1f69 100644 --- a/download_tool.py +++ b/download_tool.py @@ -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}")