From 893f58554ab963f8abd4a08222a311014322fff1 Mon Sep 17 00:00:00 2001 From: jvoisin Date: Mon, 2 Jul 2018 00:22:05 +0200 Subject: Improve a bit the formatting of the code thanks to pyflakes3 --- libmat2/torrent.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libmat2/torrent.py') diff --git a/libmat2/torrent.py b/libmat2/torrent.py index b598065..ad49f47 100644 --- a/libmat2/torrent.py +++ b/libmat2/torrent.py @@ -125,7 +125,7 @@ class _BencodeHandler(object): try: r, l = self.__decode_func[s[0]](s) except (IndexError, KeyError, ValueError) as e: - logging.debug("Not a valid bencoded string: %s" % e) + logging.debug("Not a valid bencoded string: %s", e) return None if l != b'': logging.debug("Invalid bencoded value (data after valid prefix)") -- cgit v1.3