summaryrefslogtreecommitdiff
path: root/appdirs.py
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2015-08-01 15:29:22 -0400
committerJason R. Coombs <jaraco@jaraco.com>2015-08-01 15:29:22 -0400
commitc242db5eb01882bea8edb0d1e98b6a39da00e5f1 (patch)
tree968c7bc186e511a02e1acd12e82a81d7140ba791 /appdirs.py
parentc3f35455ee00e4531469afb6c156533ea29ac235 (diff)
downloadappdirs-c242db5eb01882bea8edb0d1e98b6a39da00e5f1.tar.gz
Make appname optional in AppDirs wrapper as in the wrapped functions. Fixes #55.
Diffstat (limited to 'appdirs.py')
-rw-r--r--appdirs.py4
1 files 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