forked from Dniel97/artemis
fix incorrect class being used
This commit is contained in:
parent
edddb2e9d4
commit
9a43303880
@ -252,7 +252,7 @@ class AllnetServlet:
|
|||||||
unzipped = decomp.decompress(data)
|
unzipped = decomp.decompress(data)
|
||||||
sections = unzipped.decode('ascii').split('\r\n')
|
sections = unzipped.decode('ascii').split('\r\n')
|
||||||
|
|
||||||
return Utils.kvp_to_dict(sections)
|
return self.kvp_to_dict(sections)
|
||||||
|
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
print(e)
|
print(e)
|
||||||
@ -267,7 +267,7 @@ class AllnetServlet:
|
|||||||
unzipped = zlib.decompress(zipped)
|
unzipped = zlib.decompress(zipped)
|
||||||
sections = unzipped.decode('utf-8').split('\r\n')
|
sections = unzipped.decode('utf-8').split('\r\n')
|
||||||
|
|
||||||
return Utils.kvp_to_dict(sections)
|
return self.kvp_to_dict(sections)
|
||||||
|
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
print(e)
|
print(e)
|
||||||
|
Loading…
Reference in New Issue
Block a user