Skip to content
Snippets Groups Projects
Commit 664b3636 authored by Kevin S. Hahn's avatar Kevin S. Hahn
Browse files

disable scitran central client if site_id=local

parent ecb5b09d
No related branches found
No related tags found
No related merge requests found
......@@ -66,8 +66,8 @@ elif not args.api_uri:
log.warning('api_uri not configured. scitran central functionality disabled.')
elif not args.site_name:
log.warning('site_name not configured. scitran central functionality disabled.')
elif not args.site_id:
log.warning('site_id not configured. scitran central functionality disabled.')
elif args.site_id == 'local':
log.warning('site_id is local. scitran central functionality disabled.')
elif not args.central_uri:
log.warning('central_uri not configured. scitran central functionality disabled.')
else:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment