1
0
mirror of https://github.com/moparisthebest/SickRage synced 2024-12-12 19:12:26 -05:00

Fix for __exit__ DB errors

This commit is contained in:
echel0n 2014-06-21 18:35:57 -07:00
parent 3f6084fe4b
commit 61e1e5d2c2
13 changed files with 26 additions and 26 deletions

View File

@ -344,7 +344,7 @@ class BTNCache(tvcache.TVCache):
cl.append(ci)
if cl:
with self._getDB() as myDB:
myDB = self._getDB()
myDB.mass_action(cl)
else:

View File

@ -255,7 +255,7 @@ class HDBitsCache(tvcache.TVCache):
ql.append(ci)
if ql:
with self._getDB() as myDB:
myDB = self._getDB()
myDB.mass_action(ql)
else:

View File

@ -377,7 +377,7 @@ class HDTorrentsCache(tvcache.TVCache):
cl.append(ci)
if cl:
with self._getDB() as myDB:
myDB = self._getDB()
myDB.mass_action(cl)
def _parseItem(self, item):

View File

@ -318,7 +318,7 @@ class IPTorrentsCache(tvcache.TVCache):
cl.append(ci)
if cl:
with self._getDB() as myDB:
myDB = self._getDB()
myDB.mass_action(cl)
def _parseItem(self, item):

View File

@ -455,7 +455,7 @@ class KATCache(tvcache.TVCache):
cl.append(ci)
if cl:
with self._getDB() as myDB:
myDB = self._getDB()
myDB.mass_action(cl)
def _parseItem(self, item):

View File

@ -342,7 +342,7 @@ class NewznabCache(tvcache.TVCache):
ql.append(ci)
if ql:
with self._getDB() as myDB:
myDB = self._getDB()
myDB.mass_action(ql)
else:

View File

@ -367,7 +367,7 @@ class NextGenCache(tvcache.TVCache):
cl.append(ci)
if cl:
with self._getDB() as myDB:
myDB = self._getDB()
myDB.mass_action(cl)
def _parseItem(self, item):

View File

@ -340,7 +340,7 @@ class PublicHDCache(tvcache.TVCache):
ql.append(ci)
if ql:
with self._getDB() as myDB:
myDB = self._getDB()
myDB.mass_action(ql)
def _parseItem(self, item):

View File

@ -362,7 +362,7 @@ class SCCCache(tvcache.TVCache):
cl.append(ci)
if cl:
with self._getDB() as myDB:
myDB = self._getDB()
myDB.mass_action(cl)
def _parseItem(self, item):

View File

@ -302,7 +302,7 @@ class SpeedCDCache(tvcache.TVCache):
ql.append(ci)
if ql:
with self._getDB() as myDB:
myDB = self._getDB()
myDB.mass_action(ql)
def _parseItem(self, item):

View File

@ -435,7 +435,7 @@ class ThePirateBayCache(tvcache.TVCache):
cl.append(ci)
if cl:
with self._getDB() as myDB:
myDB = self._getDB()
myDB.mass_action(cl)
def _parseItem(self, item):

View File

@ -326,7 +326,7 @@ class TorrentDayCache(tvcache.TVCache):
cl.append(ci)
if cl:
with self._getDB() as myDB:
myDB = self._getDB()
myDB.mass_action(cl)
def _parseItem(self, item):

View File

@ -321,7 +321,7 @@ class TorrentLeechCache(tvcache.TVCache):
cl.append(ci)
if cl:
with self._getDB() as myDB:
myDB = self._getDB()
myDB.mass_action(cl)
def _parseItem(self, item):