diff --git a/summary/summary.py b/summary/summary.py index 203fd9c76..2ceadba3e 100755 --- a/summary/summary.py +++ b/summary/summary.py @@ -46,7 +46,8 @@ def run(self): rpcpeers = plugin.rpc.listpeers() trace_availability(plugin, rpcpeers) plugin.persist.sync() - plugin.log("[PeerThread] Peerstate availability persisted and synced. Sleeping now..." , 'debug') + plugin.log("[PeerThread] Peerstate availability persisted and " + "synced. Sleeping now...", 'debug') time.sleep(plugin.avail_interval) except Exception as ex: plugin.log("[PeerThread] " + str(ex), 'warn') diff --git a/summary/test_summary.py b/summary/test_summary.py index c7f4fe4ea..e659986f0 100644 --- a/summary/test_summary.py +++ b/summary/test_summary.py @@ -1,6 +1,5 @@ import subprocess import unittest -import time import re import os