Skip to content

Commit

Permalink
nothing
Browse files Browse the repository at this point in the history
  • Loading branch information
rking32 committed Jan 9, 2021
1 parent 9c17839 commit 2439b7c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion userge/core/methods/utils/restart.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@ async def restart(self, update_req: bool = False) -> None: # pylint: disable=ar
print(_LOG_STR % c_e)
if update_req:
print(_LOG_STR % "Installing Requirements...")
# nosec
os.system(
"pip3 install -U pip && pip3 install --no-cache-dir -r requirements.txt") # nosec
"pip3 install -U pip && pip3 install --no-cache-dir -r requirements.txt")
os.execl(sys.executable, sys.executable, '-m', 'userge') # nosec
sys.exit()

0 comments on commit 2439b7c

Please sign in to comment.