You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "./test.py", line 12, in <module>
fish.animate(amount=i)
File ".../tmp/fish/fish.py", line 166, in animate
return super(ProgressableFishBase, self).animate(*args, **kwds)
File ".../tmp/fish/fish.py", line 91, in animate
step = self.worldstep.next()
File ".../tmp/fish/fish.py", line 259, in worldstep_progressive
part = self.amount / float(self.total)
TypeError: float() argument must be a string or a number
If I add a total to the ProgressFish creation, then it works.
The text was updated successfully, but these errors were encountered:
nyanshell
added a commit
to nyanshell/fish
that referenced
this issue
Dec 9, 2014
This is based on the example in the README file:
The output is
If I add a
total
to theProgressFish
creation, then it works.The text was updated successfully, but these errors were encountered: