Advertisement
xcodinas

Untitled

Mar 20th, 2017
153
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.80 KB | None | 0 0
  1. Traceback (most recent call last):
  2. File "/home/xavier/projectes/develop/tryton/tryton/gui/window/view_form/view/calendar_.py", line 95, in on_event_released
  3. goocalendar.update()
  4. File "/usr/local/lib/python2.7/dist-packages/goocalendar/_calendar.py", line 201, in update
  5. self.draw_events()
  6. File "/usr/local/lib/python2.7/dist-packages/goocalendar/_calendar.py", line 433, in draw_events
  7. events = self._event_store.get_events(start, end)
  8. File "/usr/local/lib/python2.7/dist-packages/goocalendar/_event.py", line 95, in get_events
  9. if util.event_intersects(event, start, end):
  10. File "/usr/local/lib/python2.7/dist-packages/goocalendar/util.py", line 92, in event_intersects
  11. return ((event.start >= start and event.start < end)
  12. TypeError: can't compare datetime.datetime to datetime.date
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement