Kod: Zaznacz cały
Traceback (most recent call last):
File "/bin/owi2plex", line 10, in <module>
sys.exit(main())
File "/usr/lib/python2.7/site-packages/click/core.py", line 764, in __call__
return self.main(*args, **kwargs)
File "/usr/lib/python2.7/site-packages/click/core.py", line 717, in main
rv = self.invoke(ctx)
File "/usr/lib/python2.7/site-packages/click/core.py", line 956, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/usr/lib/python2.7/site-packages/click/core.py", line 555, in invoke
return callback(*args, **kwargs)
File "/usr/bin/owi2plex.py", line 369, in main
tzoffset = getOffset(api_root_url=api_root_url)
File "/usr/bin/owi2plex.py", line 128, in getOffset
now = datetime.timestamp(datetime.now())
AttributeError: type object 'datetime.datetime' has no attribute 'timestamp'
Z góry dziękuję za pomoc.
![Smile :)](./images/smilies/icon_e_smile.gif)