diff options
author | Jason R. Coombs <jaraco@jaraco.com> | 2015-08-01 15:29:22 -0400 |
---|---|---|
committer | Jason R. Coombs <jaraco@jaraco.com> | 2015-08-01 15:29:22 -0400 |
commit | c242db5eb01882bea8edb0d1e98b6a39da00e5f1 (patch) | |
tree | 968c7bc186e511a02e1acd12e82a81d7140ba791 | |
parent | c3f35455ee00e4531469afb6c156533ea29ac235 (diff) | |
download | appdirs-c242db5eb01882bea8edb0d1e98b6a39da00e5f1.tar.gz |
Make appname optional in AppDirs wrapper as in the wrapped functions. Fixes #55.
-rw-r--r-- | appdirs.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |