Skip to content

Commit

Permalink
Fix python 3.7
Browse files Browse the repository at this point in the history
  • Loading branch information
Uxio0 committed Jul 11, 2022
1 parent fecbe6e commit 413a416
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.9, "3.10"]
python-version: [3.7, 3.8, 3.9, "3.10"]
steps:
- name: Setup and run ganache
run: docker run --detach --publish 8545:8545 --network-alias ganache -e DOCKER=true trufflesuite/ganache:latest --defaultBalanceEther 10000 --gasLimit 10000000 -a 30 --chain.chainId 1337 --chain.networkId 1337 -d
Expand Down
3 changes: 2 additions & 1 deletion safe_cli/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,8 @@ def loop(self):
if not command.strip():
continue

if new_operator := self.parse_operator_mode(command):
new_operator = self.parse_operator_mode(command)
if new_operator:
self.prompt_parser = PromptParser(new_operator)
new_operator.refresh_safe_cli_info() # ClI info needs to be initialized
else:
Expand Down

0 comments on commit 413a416

Please sign in to comment.