From 8fa6bab2d4a1bea753383850b0ab850fac6562cd Mon Sep 17 00:00:00 2001 From: Sean Robinson Date: Wed, 16 Apr 2014 15:07:19 -0700 Subject: [PATCH] Allow empty defaults when creating ConfigFileManager Signed-off-by: Sean Robinson --- wifiradar/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wifiradar/config.py b/wifiradar/config.py index a2afab3..72f7729 100644 --- a/wifiradar/config.py +++ b/wifiradar/config.py @@ -286,7 +286,7 @@ class ConfigFileManager(ConfigManager): """ Manage the configuration for the application, including reading from and writing to a file. """ - def __init__(self, filename, defaults): + def __init__(self, filename, defaults=None): """ Create a new configuration file at 'filename' with DEFAULT options and values in the 'defaults' dictionary. """ -- 2.11.4.GIT