From 310e38a76c00d80f1b8e230d01a3416d0f4ca0a5 Mon Sep 17 00:00:00 2001 From: manu Date: Wed, 10 May 2017 21:31:23 +0200 Subject: [PATCH] no need to lowercase subreddits --- shreddit/shredder.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shreddit/shredder.py b/shreddit/shredder.py index 278a228..f778da3 100644 --- a/shreddit/shredder.py +++ b/shreddit/shredder.py @@ -98,7 +98,7 @@ class Shredder(object): return False def _save_item(self, item): - name = item.subreddit_name_prefixed[2:].lower() + name = item.subreddit_name_prefixed[2:] path = "{}/{}/{}.json".format(item.author, name, item.id) if not os.path.exists(os.path.join(self._save_directory, os.path.dirname(path))): os.makedirs(os.path.join(self._save_directory, os.path.dirname(path)))