Skip to content

Commit

Permalink
Merge pull request #56 from jaraco/issue-55
Browse files Browse the repository at this point in the history
Make appname optional in AppDirs wrapper as in the wrapped functions. Fixes #55.
  • Loading branch information
zoofood committed Dec 29, 2016
2 parents e593ebf + c242db5 commit 7b84283
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions appdirs.py
Expand Up @@ -406,8 +406,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
Expand Down

0 comments on commit 7b84283

Please sign in to comment.