Remove obsolete method
This commit is contained in:
parent
a7939f8b24
commit
456ef5cb34
1 changed files with 0 additions and 16 deletions
|
@ -229,22 +229,6 @@ class KodiDBMethods(object):
|
||||||
self.cursor.execute('DELETE FROM path WHERE idPath = ?',
|
self.cursor.execute('DELETE FROM path WHERE idPath = ?',
|
||||||
(path_id,))
|
(path_id,))
|
||||||
|
|
||||||
def getFile(self, fileid):
|
|
||||||
|
|
||||||
query = ' '.join((
|
|
||||||
|
|
||||||
"SELECT strFilename",
|
|
||||||
"FROM files",
|
|
||||||
"WHERE idFile = ?"
|
|
||||||
))
|
|
||||||
self.cursor.execute(query, (fileid,))
|
|
||||||
try:
|
|
||||||
filename = self.cursor.fetchone()[0]
|
|
||||||
except TypeError:
|
|
||||||
filename = ""
|
|
||||||
|
|
||||||
return filename
|
|
||||||
|
|
||||||
def _modify_link_and_table(self, kodi_id, kodi_type, entries, link_table,
|
def _modify_link_and_table(self, kodi_id, kodi_type, entries, link_table,
|
||||||
table, key):
|
table, key):
|
||||||
query = '''
|
query = '''
|
||||||
|
|
Loading…
Reference in a new issue