diff options
Diffstat (limited to 'Demo/classes/Dbm.py')
-rwxr-xr-x | Demo/classes/Dbm.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Demo/classes/Dbm.py b/Demo/classes/Dbm.py index 617fe99..f931e93 100755 --- a/Demo/classes/Dbm.py +++ b/Demo/classes/Dbm.py @@ -7,8 +7,8 @@ class Dbm: def __init__(self, filename, mode, perm): - import dbm - self.db = dbm.open(filename, mode, perm) + import dbm.ndbm + self.db = dbm.ndbm.open(filename, mode, perm) def __repr__(self): s = '' |