impromptu cli bugfix

This commit is contained in:
Lucent 2024-09-04 02:16:23 +02:00
parent 02aaeec7fe
commit e45d3db275

13
MFOR.py
View file

@ -146,12 +146,13 @@ def main():
settings.update({"-PALSUITS-": True}) settings.update({"-PALSUITS-": True})
if "p" in args.palettes: if "p" in args.palettes:
settings.update({"-PALSPRITES-": True}) settings.update({"-PALSPRITES-": True})
settings = {key: settings[key] for key in sorted(settings.keys())}
start_randomizer(args.file, settings) settings = {key: settings[key] for key in sorted(settings.keys())}
if len(logic) > 0: start_randomizer(args.file, settings)
print("\nRandom settings:") if len(logic) > 0:
for item in logic: print("\nRandom settings:")
print(item) for item in logic:
print(item)
else: else:
import GUI import GUI