We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent afc7c12 commit 6100870Copy full SHA for 6100870
glances_api/__init__.py
@@ -43,7 +43,7 @@ async def get_data(self):
43
url = "{}/{}".format(self.url, "all")
44
45
try:
46
- with async_timeout.timeout(5, loop=self._loop):
+ with async_timeout.timeout(5):
47
if self.password is None:
48
response = await self._session.get(url)
49
else:
@@ -74,7 +74,7 @@ async def get_plugins(self):
74
url = "{}/{}".format(self.url, "pluginslist")
75
76
77
78
79
80
0 commit comments