From 8f1f15a6ed8b38c54d32645adee0a827e3f81a09 Mon Sep 17 00:00:00 2001 From: Federico Dolce Date: Fri, 2 Dec 2016 12:12:13 +0100 Subject: [PATCH] Fix for update_rates command to use default parameter --- djmoney_rates/management/commands/update_rates.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/djmoney_rates/management/commands/update_rates.py b/djmoney_rates/management/commands/update_rates.py index c69d58d..311e239 100644 --- a/djmoney_rates/management/commands/update_rates.py +++ b/djmoney_rates/management/commands/update_rates.py @@ -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']: