diff --git a/plugins/prosody/prosody_ b/plugins/prosody/prosody_ index 9f7c1821..4a3fab53 100755 --- a/plugins/prosody/prosody_ +++ b/plugins/prosody/prosody_ @@ -105,7 +105,7 @@ def main(): sys.exit(0) else: - client_presence_re = re.compile("[\]] (.*?)\(\d+\)") + client_presence_re = re.compile(r"[\]] (.*?)\(\d+\)") telnet = telnetlib.Telnet(host, port) telnet.write(b"c2s:show()\n") telnet_response = telnet.read_until(b"clients", 5) diff --git a/plugins/router/arris-tg3442 b/plugins/router/arris-tg3442 index a232ef29..604807e1 100755 --- a/plugins/router/arris-tg3442 +++ b/plugins/router/arris-tg3442 @@ -243,10 +243,10 @@ if __name__ == "__main__": # graph config print(f"multigraph docsis_{g['name']}") print(f"graph_title {g['title']}") - print(f"graph_category network") + print("graph_category network") print(f"graph_vlabel {g['vlabel']}") print(f"graph_info {g['info']}") - print(f"graph_scale no") + print("graph_scale no") # channels for c in g['data']: