-
Notifications
You must be signed in to change notification settings - Fork 22
Description
[user@host]$ idlegame
user@idlegame % crontab
Traceback (most recent call last):
File "/home/ashley/myenv/bin/idlegame", line 7, in
sys.exit(main())
~~~~^^
File "/home/ashley/myenv/lib/python3.14/site-packages/idlegame/main.py", line 230, in main
cli.cmdloop()
~~~~~~~~~~~^^
File "/usr/lib/python3.14/cmd.py", line 149, in cmdloop
stop = self.onecmd(line)
File "/usr/lib/python3.14/cmd.py", line 226, in onecmd
return self.default(line)
~~~~~~~~~~~~^^^^^^
File "/home/ashley/myenv/lib/python3.14/site-packages/idlegame/main.py", line 217, in default
self.commands[command](self.player, *positional, **kwargs) # Pass arguments
~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ashley/myenv/lib/python3.14/site-packages/idlegame/idle.py", line 143, in handle_crontab
time_offline = now - player.last_claim_timestamp
~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
TypeError: unsuppored operand type(s) for -: 'datetime.datetime' and 'NoneType'