Fix pep8 warning
authorMagnus Hagander <magnus@hagander.net>
Mon, 17 Dec 2018 13:29:32 +0000 (14:29 +0100)
committerMagnus Hagander <magnus@hagander.net>
Mon, 17 Dec 2018 13:50:18 +0000 (14:50 +0100)
code/pgeusite/cmutuel/management/commands/cmscrape.py

index 7c7f84df70183a5d86e147da8226148d96aa64ff..a835058349e802c2c73b88fe2e6ff91e64146bdc 100755 (executable)
@@ -133,7 +133,7 @@ class Command(BaseCommand):
         if fromdate['max']:
             # Overlap with 1 week, just in case there are some old xacts. Yes, we might loose some,
             # but we don't really care :)
-            fromdate = fromdate['max']-datetime.timedelta(days=7)
+            fromdate = fromdate['max'] - datetime.timedelta(days=7)
         else:
             # No previous one, so just pick a date... This will only happen once..
             fromdate = datetime.date(2014, 1, 1)