spansh.py: now exits with (3) if nothing found

This commit is contained in:
alterNERDtive 2020-03-04 20:42:57 +01:00
parent 95f5de2377
commit cf3fb80238

View file

@ -67,5 +67,8 @@ if args.subcommand == "oldstations":
else:
out = getOldStations(args.count, args.systemlist)
print(out)
sys.exit(0)
if out == "":
sys.exit(3)
else:
print(out)
sys.exit(0)