Closed danie1k closed 4 years ago
Python version: 3.5.2
Error appears in two lines:
... fixtures = self.get_fixtures().values() fixtures.reverse() ...
Reason:
self.get_fixtures()
OrderedDict
self.get_fixtures().values()
odict_values
But, at least in Python 3.5.2 it's not possible to call reverse() on odict_values.
reverse()
Easiest workaround:
fixtures = list(self.get_fixtures().values())
I haven't investigated it deeper.
@danie1k the same problem, thank you for solution, made pull request
Thanks for fix
Python version: 3.5.2
Error appears in two lines:
Reason:
self.get_fixtures()
returns anOrderedDict
object,self.get_fixtures().values()
returns anodict_values
object,But, at least in Python 3.5.2 it's not possible to call
reverse()
onodict_values
.Easiest workaround:
I haven't investigated it deeper.