[Git][NTPsec/ntpsec][master] ntpviz: HTML generation fix.
Eric S. Raymond
gitlab at mg.gitlab.com
Tue Aug 23 01:09:37 UTC 2016
Eric S. Raymond pushed to branch master at NTPsec / ntpsec
Commits:
3325812f by Eric S. Raymond at 2016-08-22T21:09:31-04:00
ntpviz: HTML generation fix.
- - - - -
1 changed file:
- ntpstats/ntpviz
Changes:
=====================================
ntpstats/ntpviz
=====================================
--- a/ntpstats/ntpviz
+++ b/ntpstats/ntpviz
@@ -318,7 +318,7 @@ if __name__ == '__main__':
show_peer_offsets = show_peer_jitters = None
show_peer_rtt = None
outdir = "ntpgraphs"
- debug = 0
+ debug_level = 0
nice = 0
for (switch, val) in options:
if switch == "-d":
@@ -515,6 +515,7 @@ ntpviz</a>, part of the <a href="https://www.ntpsec.org/">NTPsec project</a>
</html>
'''
with open(os.path.join(outdir, "index.html"), "w") as ifile:
+ ifile.write(index_header)
# if header file, add it to index.html
header = os.path.join(outdir, "header")
if os.path.isfile(header):
View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/3325812f0dd118edc03610b49c49682a32829a5a
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ntpsec.org/pipermail/vc/attachments/20160823/0e224843/attachment.html>
More information about the vc
mailing list