Ask Solem 11 anos atrás
pai
commit
6d0abb7461
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      celery/utils/timeutils.py

+ 1 - 1
celery/utils/timeutils.py

@@ -112,7 +112,7 @@ class _Zone(object):
     def to_system(self, dt):
         return localize(dt, self.local)
 
-    def to_local_fallback(self, dt, *args, **kwargs):
+    def to_local_fallback(self, dt):
         if is_naive(dt):
             return make_aware(dt, self.local)
         return localize(dt, self.local)