proxyconfig_stem pylint fixes

This commit is contained in:
lakshyacis 2019-09-23 16:08:34 +05:30
parent e50f99419f
commit df1994d6f3
No known key found for this signature in database
GPG Key ID: D2C539C8EC63E9EB

View File

@ -1,5 +1,8 @@
# -*- coding: utf-8 -*-
"""
src/plugins/proxyconfig_stem.py
===================================
"""
import os
import logging
import random # noseq
@ -29,7 +32,7 @@ class DebugLogger(object):
# Plugin's debug or unexpected log line from tor
self._logger.debug(line)
else:
self._logger.log(self._levels.get(level, 10), '(tor)' + line)
self._logger.log(self._levels.get(level, 10), '(tor) %s', line)
def connect_plugin(config): # pylint: disable=too-many-branches