Skip to content
This repository has been archived by the owner on Oct 4, 2022. It is now read-only.

Commit

Permalink
fix advanced sort bugs (close HoverHell#37)
Browse files Browse the repository at this point in the history
this is simple fix for advanced sort bug which also affect simple sort
  • Loading branch information
rachmadaniHaryono committed Mar 21, 2016
1 parent 5d138ae commit 0ae1747
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions redditdownload/reddit.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ def getitems(subreddit, multireddit=False, previd='', reddit_sort=None):
:param reddit_sort: type of sorting post
:returns: list -- list of post url
"""
# assume no advanced sorting.
is_advanced_sort = False

if multireddit:
if '/m/' not in subreddit:
Expand Down

0 comments on commit 0ae1747

Please sign in to comment.