Skip to content

Commit

Permalink
some fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
rking32 committed Mar 6, 2021
1 parent 46bd736 commit 857033f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion init/utils.sh
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ upgradePip() {
}

installReq() {
pip3 install --no-cache-dir -r $1/requirements.txt &> /dev/null
pip3 install -r $1/requirements.txt &> /dev/null
}

printLine() {
Expand Down
2 changes: 1 addition & 1 deletion userge/core/methods/utils/restart.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ async def restart(self, update_req: bool = False, # pylint: disable=arguments-d
if update_req:
_LOG.info(_LOG_STR, "Installing Requirements...")
os.system( # nosec
"pip3 install -U pip && pip3 install --no-cache-dir -r requirements.txt")
"pip3 install -U pip && pip3 install -r requirements.txt")
_LOG.info(_LOG_STR, "Requirements Installed !")
if hard:
os.kill(os.getpid(), signal.SIGUSR1)
Expand Down

0 comments on commit 857033f

Please sign in to comment.