浏览代码

call factory.createdb instead of factory.create

oz123 10 年之前
父节点
当前提交
cc0efbc0b7
共有 1 个文件被更改,包括 1 次插入1 次删除
  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))