[mythtv-commits] Ticket #13188: Datetime calculation error

MythTV noreply at mythtv.org
Wed Dec 6 04:49:01 UTC 2017


#13188: Datetime calculation error
------------------------------------+----------------------
     Reporter:  morten@…            |      Owner:  wagnerrp
         Type:  Bug Report - Crash  |     Status:  new
     Priority:  minor               |  Milestone:  unknown
    Component:  Bindings - Python   |    Version:  v29.0
     Severity:  medium              |   Keywords:
Ticket locked:  0                   |
------------------------------------+----------------------
 In requests_cache_compatability.py line 40 it fails:

 {{{
 self.cache.remove_old_entries(datetime.utcnow() -
 self._cache_expire_after)
 }}}


 as it aught to be:

 {{{
 self.cache.remove_old_entries(datetime.utcnow() -
 timedelta(self._cache_expire_after))
 }}}

--
Ticket URL: <https://code.mythtv.org/trac/ticket/13188>
MythTV <http://www.mythtv.org>
MythTV Media Center


More information about the mythtv-commits mailing list