Fix condition for export

This commit is contained in:
Stephan Kulow 2022-11-04 09:58:36 +01:00
parent 33a5733cb9
commit 60ced896a3

View File

@ -102,7 +102,7 @@ def main():
requests_log.propagate = True
if args.export:
if len(args.packages) != 0:
if len(args.packages) != 1:
print("Can only export one package")
sys.exit(1)
TestExporter(args.packages[0]).run()