Skip to content

Commit

Permalink
Fix for update_rates command to use default parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
Psykopear committed Dec 2, 2016
1 parent 83e3c6e commit 8f1f15a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion djmoney_rates/management/commands/update_rates.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ class Command(BaseCommand):
help = 'Update rates for configured source'

def add_arguments(self, parser):
parser.add_argument('backend_path')
parser.add_argument('backend_path', nargs='?')

def handle(self, *args, **options):
if 'backend_path' in options and options['backend_path']:
Expand Down

0 comments on commit 8f1f15a

Please sign in to comment.