mirror of
https://github.com/mon/kbinxml.git
synced 2026-09-13 03:05:12 -05:00
Set encoding variable on plaintext input
This commit is contained in:
@@ -59,6 +59,7 @@ class KBinXML():
|
||||
|
||||
def from_text(self, input):
|
||||
self.xml_doc = etree.parse(BytesIO(input)).getroot()
|
||||
self.encoding = XML_ENCODING
|
||||
|
||||
@staticmethod
|
||||
def is_binary_xml(input):
|
||||
|
||||
Reference in New Issue
Block a user