mirror of
https://github.com/kennethreitz-archive/django-mediasync.git
synced 2026-06-05 23:40:18 +00:00
fix management command call to sync
This commit is contained in:
@@ -8,9 +8,9 @@ class Command(BaseCommand):
|
||||
|
||||
requires_model_validation = False
|
||||
|
||||
def handle(self, bucket=None, prefix='', *args, **options):
|
||||
def handle(self, *args, **options):
|
||||
|
||||
try:
|
||||
mediasync.sync(bucket, prefix.strip('/'))
|
||||
mediasync.sync()
|
||||
except ValueError, ve:
|
||||
raise CommandError('%s\nUsage is mediasync %s' % (ve.message, self.args))
|
||||
Reference in New Issue
Block a user