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:
Holger Hans Peter Freyther 2012-08-14 00:14:36 +02:00
parent b7b6cf5695
commit df49a983e2
1 changed files with 1 additions and 1 deletions

View File

@ -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()