Added in exception for empty target

This commit is contained in:
ProDigySML
2019-04-11 17:21:55 -07:00
parent 8d0ec7982c
commit 5d9ef6a2b2

View File

@@ -180,6 +180,9 @@ class InputHelper(object):
# difference operation
targets -= exclusions
if len(targets) == 0:
raise Exception("No target provided, or empty target list")
if arguments.command:
commands.add(arguments.command.rstrip('\n'))
else: