artiq_client: python 3.7 compatibility

pull/1287/head
Sebastien Bourdeauducq 2019-02-26 17:09:38 +08:00
parent ec966de007
commit 0d05d4b813
1 changed files with 1 additions and 1 deletions

View File

@ -169,7 +169,7 @@ def _action_scan_devices(remote, args):
def _action_scan_repository(remote, args):
if args.async:
if getattr(args, "async"):
remote.scan_repository_async(args.revision)
else:
remote.scan_repository(args.revision)