You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For an unknown reason (didn't have time to dig deeper), when I run get_apps_list() using the Vizio class, it throws the following error:
Traceback (most recent call last):
File "/xxx/vizio_test.py", line 33, in <module>
apps = tv.get_apps_list()
^^^^^^^^^^^^^^^^^^
File "/xxx/venv/lib/python3.11/site-packages/pyvizio/helpers.py", line 13, in wrapper
return asyncio.run(f(*args, **kwargs))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/yyy/Python.framework/Versions/3.11/lib/python3.11/asyncio/runners.py", line 190, in run
return runner.run(main)
^^^^^^^^^^^^^^^^
File "/yyy/Python.framework/Versions/3.11/lib/python3.11/asyncio/runners.py", line 118, in run
return self._loop.run_until_complete(task)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/yyy/Python.framework/Versions/3.11/lib/python3.11/asyncio/base_events.py", line 653, in run_until_complete
return future.result()
^^^^^^^^^^^^^^^
File "/xxx/venv/lib/python3.11/site-packages/pyvizio/__init__.py", line 1195, in get_apps_list
return await super(Vizio, Vizio).get_apps_list(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/xxx/venv/lib/python3.11/site-packages/pyvizio/__init__.py", line 728, in get_apps_list
if country.lower() != "all":
^^^^^^^^^^^^^
AttributeError: 'Vizio' object has no attribute 'lower'
I found a simple fix, if you are interested in implementing it. In file and method pyvizio > __init__.py > Vizio > get_apps_list add the following to line 1195:
if isinstance(country, Vizio): country = "all"
The text was updated successfully, but these errors were encountered:
For an unknown reason (didn't have time to dig deeper), when I run get_apps_list() using the Vizio class, it throws the following error:
I found a simple fix, if you are interested in implementing it. In file and method
pyvizio > __init__.py > Vizio > get_apps_list
add the following to line 1195:The text was updated successfully, but these errors were encountered: