summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/file.c b/file.c
index d436e8e2d..eef779e94 100644
--- a/file.c
+++ b/file.c
@@ -297,7 +297,7 @@ void parse_file(const char *filename, GError **error, gboolean possible_default_
#ifdef SQLITE3
fmt = strrchr(filename, '.');
- if (fmt && !strcasecmp(fmt + 1, "DB")) {
+ if (fmt && (!strcasecmp(fmt + 1, "DB") || !strcasecmp(fmt + 1, "BAK"))) {
if (!try_to_open_db(filename, &mem, error)) {
free(mem.buffer);
return;