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
  • Loading branch information
jaraco authored and mindw committed Sep 27, 2016
1 parent 377047e commit fc79024
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 fc79024

Please sign in to comment.