From c242db5eb01882bea8edb0d1e98b6a39da00e5f1 Mon Sep 17 00:00:00 2001 From: "Jason R. Coombs" Date: Sat, 1 Aug 2015 15:29:22 -0400 Subject: Make appname optional in AppDirs wrapper as in the wrapped functions. Fixes #55. --- appdirs.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/appdirs.py b/appdirs.py index 3be0f7f..e64a135 100644 --- a/appdirs.py +++ b/appdirs.py @@ -364,8 +364,8 @@ def user_log_dir(appname=None, appauthor=None, version=None, opinion=True): class AppDirs(object): """Convenience wrapper for getting application dirs.""" - def __init__(self, appname, appauthor=None, version=None, roaming=False, - multipath=False): + def __init__(self, appname=None, appauthor=None, version=None, + roaming=False, multipath=False): self.appname = appname self.appauthor = appauthor self.version = version -- cgit v1.2.1