diff --git a/CHANGES.md b/CHANGES.md index 28e172ea..141c54ae 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -123,6 +123,7 @@ * Fix loading shows from the DB that have NULL IMDb id * Change order of snatched provider images to chronological on History layout compact and add ordinal indicators in the tooltips * Fix XEM Exceptions in case of bad data from XEM +* Fix provider consolidation cache upgrade ### 0.7.2 (2015-03-10 17:05:00 UTC) diff --git a/sickbeard/databases/cache_db.py b/sickbeard/databases/cache_db.py index b3b5c0b8..d6aa5287 100644 --- a/sickbeard/databases/cache_db.py +++ b/sickbeard/databases/cache_db.py @@ -121,6 +121,6 @@ class ConsolidateProviders(AddNetworkConversions): current_tables = set(self.listTables()) remove_tables = list(current_tables - keep_tables) for table in remove_tables: - self.connection.action('DROP TABLE %s' % table) + self.connection.action('DROP TABLE [%s]' % table) self.incDBVersion() \ No newline at end of file