Removed all commented out db.close

This commit is contained in:
Ruud committed 2012-10-12 19:09:57 +02:00
1 parent 378d1ccd1c
commit 269e98b049
13 files changed
-32

No files matched your search

@@ -110,7 +110,6 @@ class Searcher(Plugin):
if self.shuttingDown():
break
#db.close()
self.in_progress = False
def single(self, movie):
@@ -229,7 +228,6 @@ class Searcher(Plugin):
fireEvent('notify.frontend', type = 'searcher.ended.%s' % movie['id'], data = True)
#db.close()
return ret
def download(self, data, movie, manual = False):
@@ -280,7 +278,6 @@ class Searcher(Plugin):
except Exception, e:
log.error('Failed marking movie finished: %s %s', (e, traceback.format_exc()))
#db.close()
return True
log.info('Tried to download, but none of the downloaders are enabled')