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

This commit is contained in:
Ethan Dalool 2018-03-22 16:26:27 -07:00
parent 394aa6ec16
commit fe7d5534e8

View file

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