This commit is contained in:
spla 2022-08-19 09:24:45 +02:00
pare 5e8e9064bb
commit 0e854876ad

Veure arxiu

@ -182,6 +182,8 @@ class Ejabberd:
response = self.__api_request(endpoint, data) response = self.__api_request(endpoint, data)
if len(response.json()) > 0:
i = 0 i = 0
while i < len(response.json()): while i < len(response.json()):
@ -209,6 +211,9 @@ class Ejabberd:
sessions_temp = sessions_dict.copy() sessions_temp = sessions_dict.copy()
i += 1 i += 1
else:
sessions_temp = sessions_dict.copy()
sessions = self.__json_allow_dict_attrs(sessions_temp) sessions = self.__json_allow_dict_attrs(sessions_temp)