Skip to content

Commit

Permalink
Bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
aliparlakci committed Jan 27, 2019
1 parent 08de21a commit 82dcd2f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion script.py
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,8 @@ def __init__(self):
GLOBAL.arguments.subreddit = "+".join(GLOBAL.arguments.subreddit.split())

# DELETE THE PLUS (+) AT THE END
if not subredditInput.lower() == "frontpage":
if not subredditInput.lower() == "frontpage" \
and GLOBAL.arguments.subreddit[-1] == "+":
GLOBAL.arguments.subreddit = GLOBAL.arguments.subreddit[:-1]

print("\nselect sort type:")
Expand Down

0 comments on commit 82dcd2f

Please sign in to comment.