Skip to content

Commit

Permalink
Fixed a var naming typo
Browse files Browse the repository at this point in the history
  • Loading branch information
NovusEdge committed Apr 10, 2021
1 parent c30a1e9 commit a62b6e9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions btb_manager_telegram/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,13 +117,13 @@ def run_on_docker() -> None:
process = subprocess.Popen(command, stdout=SUBPIPE,
stderr=SUBPIPE, stdin=SUBPIPE)

out, err = check_process.communicate()
out, err = process.communicate()

if out == b'[]\n':
print(f"{colorama.Fore.RED}[-] E: Docker image not found{colorama.Fore.RESET}")
print(f"{colorama.Fore.YELLOW}[*] Please run the docker_setup.py script "
"before running the bot in a container.{colorama.Fore.RESET}")

else:
command = shlex.split('docker run --rm --it btbmt')
try:
Expand Down

0 comments on commit a62b6e9

Please sign in to comment.