Generate: remove period for easy copy&paste

Double-clicking in terminal may select the period, resulting in a bad filename in clipboard.
Also fixing quotes.
This commit is contained in:
black-sliver 2022-08-11 01:02:06 +02:00
parent b989698740
commit ffe528467e
1 changed files with 1 additions and 1 deletions

View File

@ -423,7 +423,7 @@ def main(args, seed=None, baked_server_options: Optional[Dict[str, object]] = No
world.spoiler.to_file(os.path.join(temp_dir, '%s_Spoiler.txt' % outfilebase))
zipfilename = output_path(f"AP_{world.seed_name}.zip")
logger.info(f'Creating final archive at {zipfilename}.')
logger.info(f"Creating final archive at {zipfilename}")
with zipfile.ZipFile(zipfilename, mode="w", compression=zipfile.ZIP_DEFLATED,
compresslevel=9) as zf:
for file in os.scandir(temp_dir):