From 5d9ef6a2b2cd3ad5157261ec091eed0e81681284 Mon Sep 17 00:00:00 2001 From: ProDigySML Date: Thu, 11 Apr 2019 17:21:55 -0700 Subject: [PATCH] Added in exception for empty target --- Interlace/lib/core/input.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Interlace/lib/core/input.py b/Interlace/lib/core/input.py index 73d75bd..a377a96 100644 --- a/Interlace/lib/core/input.py +++ b/Interlace/lib/core/input.py @@ -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: