From f2ae6cecbe6b57eb527a06676673fd6da33d8b54 Mon Sep 17 00:00:00 2001 From: Fredrik Eriksson Date: Sun, 22 Jan 2017 18:42:37 +0100 Subject: [PATCH] fixed python2 compatibility --- pwgen/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pwgen/__init__.py b/pwgen/__init__.py index a922269..09d9245 100644 --- a/pwgen/__init__.py +++ b/pwgen/__init__.py @@ -24,7 +24,7 @@ class PasswordLengthError(Exception): def save_config(target_file, config): path = os.path.expanduser(target_file) with open(path, 'w') as f: - config.write(f, False) + config.write(f) def update_config( config=None,