txtp_dumper: fix empty lists exception

This commit is contained in:
bnnm 2021-10-08 22:24:13 +02:00
parent ddeecbff7f
commit aab1c498a5

View File

@ -119,7 +119,7 @@ class App(object):
count += 1 count += 1
if not count: if not count:
print("%s: no .txtp found" % (filename, count)) print("%s: no .txtp found" % (filename))
else: else:
print("%s: total %i .txtp" % (filename, count)) print("%s: total %i .txtp" % (filename, count))