aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames Taylor <user234683@users.noreply.github.com>2018-07-31 16:52:51 -0700
committerJames Taylor <user234683@users.noreply.github.com>2018-07-31 16:52:51 -0700
commitdcc3183411e3173c570ceab0b7a5d9534b3b284b (patch)
tree7572f5e18a1e6679f32376305659c5ac1564cf26
parenteea034d5a9d628cad784f2cc81f867447afbbba5 (diff)
downloadyt-local-dcc3183411e3173c570ceab0b7a5d9534b3b284b.tar.lz
yt-local-dcc3183411e3173c570ceab0b7a5d9534b3b284b.tar.xz
yt-local-dcc3183411e3173c570ceab0b7a5d9534b3b284b.zip
remove leftover debug writing causing error when no debug directory
-rw-r--r--youtube/comments.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/youtube/comments.py b/youtube/comments.py
index 45a8f44..3b7395f 100644
--- a/youtube/comments.py
+++ b/youtube/comments.py
@@ -101,8 +101,8 @@ def request_comments(ctoken, replies=False):
print("got <!DOCTYPE>, retrying")
continue
break
- with open('debug/comments_debug', 'wb') as f:
- f.write(content)
+ '''with open('debug/comments_debug', 'wb') as f:
+ f.write(content)'''
return content
def parse_comments(content, replies=False):