Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix mismatched argument names #48

Merged
merged 1 commit into from
Jun 30, 2016
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions scripts/exportAssets.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,11 @@ def print_error_and_usage(argParser, error):

def santize_input_args(arg_parser, args):
if len(sys.argv) == 1:
print_error_and_usage(argParser, "No arguments supplied.")
print_error_and_usage(arg_parser, "No arguments supplied.")
if (args.dash_name is None
and args.viz_name is None
and args.search_name is None):
print_error_and_usage(argParser, "Must have one of the following flags: -d -v -s")
print_error_and_usage(arg_parser, "Must have one of the following flags: -d -v -s")

def get_filename(asset_title):
return asset_title + ".json"
Expand Down