Skip to content

Commit

Permalink
revert --upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
linzuzeng committed May 18, 2019
1 parent 92da036 commit 4df70a0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion etabackend/eta.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
print("[!] It seems that ETA can not find all of its dependencies:", e,file=sys.stderr)
inp = input("[*] Do you want to try `pip install etabackend` to fix it? (yes) ")
if 'y' in inp.lower():
run(["python", '-m','pip', '--disable-pip-version-check','install', '--find-links=.','etabackend','--ignore-installed'])
run(["python", '-m','pip', '--disable-pip-version-check','install', '--find-links=.','etabackend','--upgrade'])
input("Please restart ETA backend.")

class WSSERVER(ETA):
Expand Down
2 changes: 1 addition & 1 deletion gui/src/main/backend.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ function install_backend(slient_mode) {
});
}
if (buttonIndex == 0) {
let ls = spawnSync('python', ['-m', 'pip', '--disable-pip-version-check', 'install', '--find-links=.', 'etabackend', '--ignore-installed'], { detached: false });
let ls = spawnSync('python', ['-m', 'pip', '--disable-pip-version-check', 'install', '--find-links=.', 'etabackend', '--upgrade'], { detached: false });
if (ls.error) {
return python_not_found()
} else {
Expand Down

0 comments on commit 4df70a0

Please # to comment.