Fix bug in prepare_input_source (patched by Paul P., sourceforge.net down
now, so can't find number).
This commit is contained in:
parent
cfd3bd838c
commit
4ced5e7675
|
@ -218,7 +218,7 @@ def prepare_input_source(source, base = ""):
|
|||
source = xmlreader.InputSource()
|
||||
source.setByteStream(f)
|
||||
if hasattr(f, "name"):
|
||||
f.setSystemId(f.name)
|
||||
source.setSystemId(f.name)
|
||||
|
||||
if source.getByteStream() is None:
|
||||
sysid = source.getSystemId()
|
||||
|
|
Loading…
Reference in New Issue