Commits

Erik van Zijst  committed e8bb506

Explicit conversion to float.

  • Participants
  • Parent commits f2ccd54

Comments (0)

Files changed (1)

File interruptingcow/__init__.py

         if isinstance(seconds, Quota):
             quota = seconds
         else:
-            quota = Quota(seconds)
+            quota = Quota(float(seconds))
         set_sighandler()
         seconds = quota.remaining()