From b458f2dcc352016a99a0e3fa28ea314eb38ac61f Mon Sep 17 00:00:00 2001 From: Martin Pels Date: Tue, 8 Sep 2015 11:47:17 +0200 Subject: [PATCH] peer uptime is either date or time --- lg.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lg.py b/lg.py index 477e29a..07ad9a4 100644 --- a/lg.py +++ b/lg.py @@ -221,7 +221,7 @@ def whois(): SUMMARY_UNWANTED_PROTOS = ["Kernel", "Static", "Device"] -SUMMARY_RE_MATCH = r"(?P[\w_]+)\s+(?P\w+)\s+(?P\w+)\s+(?P\w+)\s+(?P((|\d\d\d\d-\d\d-\d\d\s)(|\d\d:)\d\d:\d\d|\w\w\w\d\d))($|\s+(?P.*))" +SUMMARY_RE_MATCH = r"(?P[\w_]+)\s+(?P\w+)\s+(?P
\w+)\s+(?P\w+)\s+(?P((\d\d\d\d-\d\d-\d\d\s)|(\d\d:)\d\d:\d\d|\w\w\w\d\d))($|\s+(?P.*))" @app.route("/summary/")