Skip to content

Commit

Permalink
line too long
Browse files Browse the repository at this point in the history
  • Loading branch information
rking32 committed Jan 9, 2021
1 parent f7bc346 commit 9c17839
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,6 +35,7 @@ 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...")
os.system("pip3 install -U pip && pip3 install --no-cache-dir -r requirements.txt") # nosec
os.system(
"pip3 install -U pip && pip3 install --no-cache-dir -r requirements.txt") # nosec
os.execl(sys.executable, sys.executable, '-m', 'userge') # nosec
sys.exit()

0 comments on commit 9c17839

Please sign in to comment.