Skip to content
This repository was archived by the owner on Dec 24, 2020. It is now read-only.
This repository was archived by the owner on Dec 24, 2020. It is now read-only.

Not retrieving information #6

@tobymanders

Description

@tobymanders

Can't get package to work in Python 3.7.2. Immediately after installing with PIP, I execute:

>>> from overwatch import Overwatch
>>> overwatch = Overwatch(battletag="Okush#11324")
>>> print(overwatch.playtime)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "C:\Users\Toby-PC\Anaconda3\lib\site-packages\overwatch\__init__.py", line 80, in playtime
    return self._generate_comparisons(compare['playtime'])
  File "C:\Users\Toby-PC\Anaconda3\lib\site-packages\overwatch\__init__.py", line 75, in _generate_comparisons
    comparison = data[self.mode]
IndexError: list index out of range

None of the methods of the overwatch object seems to work. I've also tried this with multiple different battletags.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions