summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
Diffstat (limited to 'Lib')
-rw-r--r--Lib/whichdb.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/whichdb.py b/Lib/whichdb.py
index 3186edf..c072e5b 100644
--- a/Lib/whichdb.py
+++ b/Lib/whichdb.py
@@ -50,7 +50,7 @@ def whichdb(filename):
return "gdbm"
# Check for BSD hash
- if magic == 0x061561:
+ if magic in (0x00061561, 0x61150600):
return "dbhash"
# Unknown