|
@@ -136,7 +136,7 @@ async def space_report():
|
|
|
white = merge(Style.BRIGHT + Fore.WHITE)
|
|
|
green = merge(Style.NORMAL + Fore.GREEN)
|
|
|
|
|
|
- if args.report:
|
|
|
+ if args.report and setup:
|
|
|
# Ok, there's a base filename for the report.
|
|
|
ansi = args.report + ".ans"
|
|
|
bbs = args.report + ".bbs"
|
|
@@ -221,7 +221,7 @@ async def space_report():
|
|
|
pprint(settings)
|
|
|
|
|
|
# pprint(setup)
|
|
|
- if args.report:
|
|
|
+ if args.report and setup:
|
|
|
# Save all the configuration settings to json
|
|
|
filename = args.report + ".json"
|
|
|
print("Saving setup to:", filename)
|