This commit is contained in:
Andrey
2021-02-18 12:36:43 +03:00
parent 4f8f38fde6
commit 75a41c9667
3 changed files with 6 additions and 3 deletions

View File

@@ -260,7 +260,10 @@ class MegaD:
if 'busy' in ret:
return None
if ':' in ret:
ret = ret.split(';')
if ';' in ret:
ret = ret.split(';')
elif '/' in ret:
ret = ret.split('/')
ret = {'value': dict([
x.split(':') for x in ret if x.count(':') == 1
])}