Browse Source

call factory.createdb instead of factory.create

oz123 10 năm trước cách đây
mục cha
commit
cc0efbc0b7
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      scripts/pwman3

+ 1 - 1
scripts/pwman3

@@ -46,7 +46,7 @@ def main(args):
     # this requires changes in Config, documentation, command line script
     # and finally in data.factory
     fname = config.get_value('Database', 'filename')
-    db = pwman.data.factory.create(dbtype, dbver, fname)
+    db = pwman.data.factory.createdb(dbtype, dbver, fname)
 
     if args.import_file:
         importer = Importer((args, config, db))