-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
What steps will reproduce the problem?
Python 2.7.2+ (default, Dec 1 2011, 01:55:02)
[GCC 4.6.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import pytimecode
>>> code = pytimecode.PyTimeCode('24')
>>> print code
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "pytimecode.py", line 222, in __repr__
return self.make_timecode()
File "pytimecode.py", line 119, in make_timecode
self.frames_to_tc()
File "pytimecode.py", line 55, in frames_to_tc
self.hrs = frames/(3600*self.int_framerate)
TypeError: unsupported operand type(s) for /: 'NoneType' and 'int'
What is the expected output? What do you see instead?
The printing behaviour of the object; an exception.
What version of the product are you using? On what operating system?
pytimecode 0.1.0; Debian Wheezy
Original issue reported on code.google.com by carlo.stemberger@gmail.com on 25 Dec 2011 at 2:25