Oops, allow specific_submission to suppress -r -u requirement.

master
Ethan Dalool 2018-03-22 16:26:27 -07:00
parent 394aa6ec16
commit fe7d5534e8
1 changed files with 3 additions and 2 deletions

View File

@ -18,6 +18,7 @@ def commentaugment(
Take the IDs of collected submissions, and gather comments from those threads.
Please see the global DOCSTRING_COMMENTAUGMENT variable.
'''
if specific_submission is None:
if not common.is_xor(subreddit, username):
raise exceptions.NotExclusive(['subreddit', 'username'])