почистил

sandbox1
inpos 2016-03-10 19:56:55 +03:00
parent 9740ebf6f3
commit 39417e8e93
1 changed files with 2 additions and 11 deletions

View File

@ -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()