From dcc3183411e3173c570ceab0b7a5d9534b3b284b Mon Sep 17 00:00:00 2001 From: James Taylor Date: Tue, 31 Jul 2018 16:52:51 -0700 Subject: remove leftover debug writing causing error when no debug directory --- youtube/comments.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'youtube/comments.py') 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 , 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): -- cgit v1.2.3