docs: Do not remove too much from of the dumped online help
Use the len of the end and not the filename.
This commit is contained in:
parent
b7b6cf5695
commit
df49a983e2
|
@ -26,7 +26,7 @@ def dump_doc(end, port, filename):
|
|||
|
||||
# Now write everything until the end to the file
|
||||
out = open(filename, 'w')
|
||||
out.write(xml[18:len(filename)*-1])
|
||||
out.write(xml[18:len(end)*-1])
|
||||
out.close()
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue