Skip to content

Commit

Permalink
Fix for conda build
Browse files Browse the repository at this point in the history
  • Loading branch information
Scott Wales committed Dec 5, 2017
1 parent b80b8dc commit b8f5f02
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arccssive2/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def warning(message):
def common_args(f):
constraints = [
click.argument('query', nargs=-1),
click.option('--user', default=os.environ['USER'], help='Username for database'),
click.option('--user', default=os.environ.get('USER',None), help='Username for database'),
click.option('--debug/--no-debug', default=False, help="Show/hide debug log"),
click.option('--distrib/--no-distrib', default=True, help="Distributed search"),
click.option('--replica/--no-replica', default=False, help="Search replicas"),
Expand Down

0 comments on commit b8f5f02

Please sign in to comment.