mirror of
https://github.com/PredatH0r/ChanSort.git
synced 2026-03-05 03:30:44 +01:00
fixed Panasonic loader rejecting all files
This commit is contained in:
@@ -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");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user