Skip to content

Commit

Permalink
upd
Browse files Browse the repository at this point in the history
  • Loading branch information
infstellar committed Jul 12, 2023
1 parent c192f5d commit 5e994c2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@ def run(self):
try:
self.execute(f'"{self.python_path}" -m pip install -r {os.path.join(ROOT_PATH, "toolkit", "basic_requirements.txt")}')
except ExecutionError as e:
logger.info(t2t("pip fail, reinstall python"))
logger.warning(t2t("pip fail, reinstall python"))
self.clean_py(self.python_folder)
verify_path(self.python_folder)
self.download_python_zip()
Expand Down
4 changes: 2 additions & 2 deletions utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ def run_command(command):
if time.time()-pt>5:
list = ["\\", "|", "/", "—"]
index = i % 4
print("\r {}".format(list[index]), end="")
sys.stdout.write("\r {}".format(list[index]), end="")
i+=1
rc = process.poll()
return rc
Expand All @@ -147,7 +147,7 @@ def show_error(self, command=None, error_code=None):
logger.info("")
logger.info(f"Last command: {command}\nerror_code: {error_code}")
logger.info(
"Please check your deploy settings in config. "
"Please check your NETWORK ENVIROUMENT "
"and re-open Launcher.exe"
)

Expand Down

0 comments on commit 5e994c2

Please sign in to comment.