Skip to content

Commit

Permalink
[patch] Config gen error on windows first run fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Feramance committed May 17, 2024
1 parent 3129414 commit 977d0a3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion qBitrr/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

import argparse
import contextlib
import os
import pathlib
import shutil
import sys
Expand Down Expand Up @@ -86,7 +87,7 @@ def process_flags() -> argparse.Namespace | bool:
print(f"'{CONFIG_FILE.name}' has been generated")
print('Rename it to "config.toml" then edit it and restart the container')

sys.exit
os._exit()

elif CONFIG_FILE.exists():
CONFIG = MyConfig(CONFIG_FILE)
Expand Down

0 comments on commit 977d0a3

Please sign in to comment.