From 48e6c14ab8835ad5ade82e10d66f4e8dcb54671c Mon Sep 17 00:00:00 2001 From: Ben Kurtovic Date: Sun, 25 Aug 2013 05:14:49 -0400 Subject: [PATCH] WHOOPS X2. --- earwigbot/wiki/site.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/earwigbot/wiki/site.py b/earwigbot/wiki/site.py index 772dfe7..dd06ea6 100644 --- a/earwigbot/wiki/site.py +++ b/earwigbot/wiki/site.py @@ -520,6 +520,8 @@ class Site(object): if "read_default_file" not in args and "user" not in args and "passwd" not in args: args["read_default_file"] = expanduser("~/.my.cnf") + elif "read_default_file" in args: + args["read_default_file"] = expanduser(args["read_default_file"]) if "autoping" not in args: args["autoping"] = True