Explorar o código

call factory.createdb instead of factory.create

oz123 %!s(int64=10) %!d(string=hai) anos
pai
achega
cc0efbc0b7
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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
     # this requires changes in Config, documentation, command line script
     # and finally in data.factory
     # and finally in data.factory
     fname = config.get_value('Database', 'filename')
     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:
     if args.import_file:
         importer = Importer((args, config, db))
         importer = Importer((args, config, db))