mirror of
https://github.com/aljazceru/plugins.git
synced 2025-12-23 16:14:20 +01:00
summary: nits
This commit is contained in:
@@ -46,7 +46,8 @@ class PeerThread(threading.Thread):
|
|||||||
rpcpeers = plugin.rpc.listpeers()
|
rpcpeers = plugin.rpc.listpeers()
|
||||||
trace_availability(plugin, rpcpeers)
|
trace_availability(plugin, rpcpeers)
|
||||||
plugin.persist.sync()
|
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)
|
time.sleep(plugin.avail_interval)
|
||||||
except Exception as ex:
|
except Exception as ex:
|
||||||
plugin.log("[PeerThread] " + str(ex), 'warn')
|
plugin.log("[PeerThread] " + str(ex), 'warn')
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
import subprocess
|
import subprocess
|
||||||
import unittest
|
import unittest
|
||||||
import time
|
|
||||||
import re
|
import re
|
||||||
import os
|
import os
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user