Formatting

This commit is contained in:
shortcutme 2018-08-26 02:47:58 +02:00
parent a7adb517ca
commit 6783fb9010
No known key found for this signature in database
GPG key ID: 5B63BAE6CB9613AE

View file

@ -4,7 +4,7 @@ from Plugin import PluginManager
from BootstrapperDb import BootstrapperDb from BootstrapperDb import BootstrapperDb
from Crypt import CryptRsa from Crypt import CryptRsa
if "db" not in locals().keys(): # Share durin reloads if "db" not in locals().keys(): # Share during reloads
db = BootstrapperDb() db = BootstrapperDb()
@ -105,8 +105,8 @@ class FileRequestPlugin(object):
back["peers"] = peers back["peers"] = peers
self.connection.log( self.connection.log(
"Announce %s sites (onions: %s, onion_check: %.3fs, db_onion: %.3fs, db_ip4: %.3fs, peerlist: %.3fs)" % "Announce %s sites (onions: %s, onion_check: %.3fs, db_onion: %.3fs, db_ip4: %.3fs, peerlist: %.3fs, limit: %s)" %
(len(hashes), len(onion_to_hash), time_onion_check, time_db_onion, time_db_ip4, time_peerlist) (len(hashes), len(onion_to_hash), time_onion_check, time_db_onion, time_db_ip4, time_peerlist, limit)
) )
self.response(back) self.response(back)