aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/contrib
diff options
context:
space:
mode:
Diffstat (limited to 'openbsc/contrib')
-rwxr-xr-xopenbsc/contrib/dump_all_docs.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/openbsc/contrib/dump_all_docs.py b/openbsc/contrib/dump_all_docs.py
index 314f60bab..2903f80ba 100755
--- a/openbsc/contrib/dump_all_docs.py
+++ b/openbsc/contrib/dump_all_docs.py
@@ -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()