tag required if +/- is used, do NOT assume.

This commit is contained in:
Arun Prakash Jana 2016-08-27 20:56:09 +05:30
parent 8adbfc5b26
commit 833755173f
No known key found for this signature in database
GPG Key ID: A75979F35C080412

3
buku
View File

@ -1688,7 +1688,8 @@ if __name__ == '__main__':
delete = False
if tagManual is not None:
if (tagManual[0] == '+' or tagManual[0] == '-') and len(tagManual) == 1:
tagManual = None
logger.error('Please specify a tag')
bdb.close_quit(1)
elif tagManual[0] == '+':
tagManual = tagManual[1:]
append = True