Skip to content

Commit

Permalink
slightly more detailed logging
Browse files Browse the repository at this point in the history
  • Loading branch information
howardt12345 committed Aug 12, 2023
1 parent 51a8e38 commit 80c8fd0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions commands/restart/restart.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@ async def restart(
):
await interaction.response.send_message("Restarting, goodbye world")

print("Fetching from repo and installing requirements...")
print("restart: Fetching from repo and installing requirements...")

subprocess.call(["git", "pull"])
subprocess.call(["pip", "install", "-r", "requirements.txt"])

print("Restarting...")
print("restart: Restarting...")

os.execv(sys.executable, ['python'] + sys.argv)

0 comments on commit 80c8fd0

Please sign in to comment.