Skip to content

Commit

Permalink
Revert "BugFix"
Browse files Browse the repository at this point in the history
This reverts commit b44d1e7.
  • Loading branch information
Mefgner committed Jul 13, 2024
1 parent b44d1e7 commit 1d7d4f1
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -250,9 +250,6 @@ async def srr():
os.startfile(PATH_TO_PROGRAM / PROJECT_EXECUTABLE)
logging.info(f"{PROJECT_EXECUTABLE} is not running, so it was started")
logging.info(f"{PATH_CURRENT_FILE} terminating itself")
ctypes.windll.user32.MessageBoxW(
None, "The SRR was successfully installed! Now it runs in background.", "Info", 0x00000040
)
os._exit(0)

# create config file if it doesn't exist
Expand Down Expand Up @@ -281,5 +278,5 @@ async def main():
if __name__ == "__main__":
if not PATH_TO_PROGRAM.exists():
PATH_TO_PROGRAM.mkdir()
logging.basicConfig(level=logging.INFO, filename=PATH_BASE_DIR / "logs.txt", filemode="w", stream=None)
logging.basicConfig(level=logging.INFO, filename=PATH_BASE_DIR / "logs.txt", filemode="w")
asyncio.run(main())

0 comments on commit 1d7d4f1

Please sign in to comment.