diff --git a/repthon/core/pluginManager.py b/repthon/core/pluginManager.py index ffb314c..f889fd3 100644 --- a/repthon/core/pluginManager.py +++ b/repthon/core/pluginManager.py @@ -76,7 +76,7 @@ async def restart_script(client: TelegramClient, sandy): except Exception as e: LOGS.error(e) executable = sys.executable.replace(" ", "\\ ") - args = [executable, "-m", "zthon"] + args = [executable, "-m", "repthon"] os.execle(executable, *args, os.environ) os._exit(143)