浏览代码

Change default config

oz123 10 年之前
父节点
当前提交
551d32c841
共有 1 个文件被更改,包括 4 次插入4 次删除
  1. 4 4
      pwman/util/config.py

+ 4 - 4
pwman/util/config.py

@@ -34,11 +34,11 @@ default_config = {'Global': {'umask': '0100', 'colors': 'yes',
                              'cls_timeout': '10', 'cp_timeout': '5',
                              'save': 'True'
                              },
-                  'Database': {'type': 'SQLite',
-                               'filename': os.path.join(config_dir,
-                                                        "pwman.db")},
+                  'Database': {
+                      'dburi': 'sqlite://' + os.path.join(config_dir,
+                                                          'pwman.db')},
                   'Readline': {'history': os.path.join(config_dir,
-                                                       "history")}
+                                                       'history')}
                   }