Skip to content

Commit

Permalink
Make sure to invoke python3 not python when calling deploy manage.py
Browse files Browse the repository at this point in the history
  • Loading branch information
TheMadBug committed Nov 16, 2023
1 parent 9c6a982 commit 5a1b195
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/migrator/migrator.py
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ def notify_deployed(self):

if response.status_code == 200:
print("Deployment recorded in Rollbar.")
subprocess.run(["python", "manage.py", "deployed"])
subprocess.run(substitute_aliases(["python", "manage.py", "deployed"]))
else:
print(f"Failed to record deployment in Rollbar. Response: {response.text}")
except Exception as e:
Expand Down

0 comments on commit 5a1b195

Please sign in to comment.