fix logging with docker

This commit is contained in:
Jon 2021-12-12 23:13:11 -05:00
parent 219da4318f
commit c126962150
No known key found for this signature in database
GPG key ID: 9665BA6CF5DC2671

View file

@ -12,7 +12,7 @@ logger = logging.getLogger("qBit Manage")
class Qbt:
def __init__(self, config, params):
self.config = config
config_handler.set_global(length=self.config.args['screen_width'],force_tty=True)
config_handler.set_global(length=self.config.args['screen_width'])
self.host = params["host"]
self.username = params["username"]
self.password = params["password"]