Przeglądaj źródła

call factory.createdb instead of factory.create

oz123 10 lat temu
rodzic
commit
cc0efbc0b7
1 zmienionych plików z 1 dodań i 1 usunięć
  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))