aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xscan.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/scan.py b/scan.py
index eb24db4..3b47df1 100755
--- a/scan.py
+++ b/scan.py
@@ -42,7 +42,8 @@ def main():
if len(uuids) == 1:
my_uuid = open(uuids[0]).readline().strip()
else:
- print('removing:', uuids)
+ if uuids:
+ print('removing:', uuids)
for f in uuids:
os.unlink(f)
my_uuid = create_uuid_txt(root)