fixed Panasonic loader rejecting all files

This commit is contained in:
hbeham
2017-06-10 12:19:36 +02:00
parent c576b94de8
commit e53d746197
2 changed files with 2 additions and 2 deletions

View File

@@ -340,7 +340,7 @@ namespace ChanSort.Loader.Panasonic
RepairCorruptedDatabaseImage(cmd);
InitCharacterEncoding(cmd);
cmd.CommandText = "SELECT count(1) FROM sqlite_master WHERE type = 'table' and name in ('svl', 'tsl')";
cmd.CommandText = "SELECT count(1) FROM sqlite_master WHERE type = 'table' and name in ('SVL', 'TSL')";
if (Convert.ToInt32(cmd.ExecuteScalar()) != 2)
throw new FileLoadException("File doesn't contain the expected TSL/SVL tables");