I am unable to use the execute_every function.
With whatever parameters I try, I always get this error:
#!python
File "ircbot.py", line 17, in __init__
self.ircobj.execute_every( 60, myfunction )
File "myproject\irc\client.py", line 346, in execute_every
command = schedule.PeriodicCommand(period, function, arguments)
File "myproject\irc\schedule.py", line 61, in __init__
super(PeriodicCommand, self).__init__(*args, **kwargs)
TypeError: object.__init__() takes no parameters
ircbot.py contains my program, and the irc folder contains irclib.
The reason might be my incompetence and I am on Python 3.3.
execute_delayed for example works fine.
I am unable to use the execute_every function.
With whatever parameters I try, I always get this error:
ircbot.py contains my program, and the irc folder contains irclib.
The reason might be my incompetence and I am on Python 3.3.
execute_delayed for example works fine.