Update launcher.py

This commit is contained in:
McCloudS
2024-03-22 18:18:22 -06:00
committed by GitHub
parent 2448224a48
commit 5a3bd4da20

View File

@@ -159,7 +159,7 @@ def main():
print("File exists and UPDATE is not set to True, skipping download.") print("File exists and UPDATE is not set to True, skipping download.")
if not args.exit_early: if not args.exit_early:
if branch_name: if branch_name != 'main':
subprocess.run([f'{python_cmd}', '-u', f'subgen-{branch_name}.py'], check=True) subprocess.run([f'{python_cmd}', '-u', f'subgen-{branch_name}.py'], check=True)
else: else:
subprocess.run([f'{python_cmd}', '-u', 'subgen.py'], check=True) subprocess.run([f'{python_cmd}', '-u', 'subgen.py'], check=True)