Commits

Erik van Zijst committed e8bb506

Explicit conversion to float.

Comments (0)

Files changed (1)

interruptingcow/__init__.py

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