no need to lowercase subreddits

klloe-save_path
manu 8 years ago
parent 9199fa8634
commit 8093bb7bc0

@ -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)))

Loading…
Cancel
Save