Skip to content

Commit

Permalink
Make appname optional in AppDirs wrapper as in the wrapped functions. F…
Browse files Browse the repository at this point in the history
…ixes #55.
  • Loading branch information
jaraco committed Aug 1, 2015
1 parent c3f3545 commit c242db5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions appdirs.py
Expand Up @@ -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
Expand Down

0 comments on commit c242db5

Please sign in to comment.