1. Erik van Zijst
  2. interruptingcow

Commits

Erik van Zijst  committed e8bb506

Explicit conversion to float.

  • Participants
  • Parent commits f2ccd54
  • Branches master

Comments (0)

Files changed (1)

File interruptingcow/__init__.py

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