Skip to content

Commit

Permalink
Update gcp/api/test_server.py
Browse files Browse the repository at this point in the history
  • Loading branch information
another-rex authored Nov 1, 2024
1 parent ca1a34b commit 65dab27
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions gcp/api/test_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -183,11 +183,11 @@ def start(credential_path,
print(f'Usage: {sys.argv[0]} path/to/credential.json')
sys.exit(1)

no_backend = False
no_backend_flag = False
if len(sys.argv) == 3:
no_backend = sys.argv[2] == '--no-backend'
no_backend_flag = sys.argv[2] == '--no-backend'

server = start(sys.argv[1], no_backend=no_backend)
server = start(sys.argv[1], no_backend=no_backend_flag)
try:
while True:
server.check()
Expand Down

0 comments on commit 65dab27

Please sign in to comment.