Skip to content

Commit

Permalink
allow for empty config path
Browse files Browse the repository at this point in the history
  • Loading branch information
rokroskar committed Dec 19, 2017
1 parent 99bccae commit 6f56537
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion renga/cli/_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ def config_path(path=None):
return os.path.join(path, 'config.yml')


def read_config(path):
def read_config(path=None):
"""Read Renga configuration."""
try:
with open(config_path(path), 'r') as configfile:
Expand Down

0 comments on commit 6f56537

Please sign in to comment.