From 39417e8e93f009f0e3ceed004ad6b1ad25975e9e Mon Sep 17 00:00:00 2001 From: inpos Date: Thu, 10 Mar 2016 19:56:55 +0300 Subject: [PATCH] =?UTF-8?q?=D0=BF=D0=BE=D1=87=D0=B8=D1=81=D1=82=D0=B8?= =?UTF-8?q?=D0=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/pyrrent2http/engine.py | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/lib/pyrrent2http/engine.py b/lib/pyrrent2http/engine.py index df61396..ea40aab 100644 --- a/lib/pyrrent2http/engine.py +++ b/lib/pyrrent2http/engine.py @@ -293,17 +293,8 @@ class Engine: pyrrent2http.logging = Logging(self._log) self.pyrrent2http = pyrrent2http.Pyrrent2http() - self._log('init config') - try: - self.pyrrent2http.initConfig(**kwargs) - except Exception as e: - self._log('%s' % (e.args,)) - self._log('Starting session') - try: - self.pyrrent2http.startSession() - except Exception as e: - self._log('%s' % (e.args,)) - self._log('starting services') + self.pyrrent2http.initConfig(**kwargs) + self.pyrrent2http.startSession() self.pyrrent2http.startServices() self.pyrrent2http.addTorrent() self.pyrrent2http.startHTTP()