Skip to content
Snippets Groups Projects
Commit d4d37ee8 authored by ulif's avatar ulif
Browse files

Use .ini filename extension for config.

parent 20989bbc
No related branches found
No related tags found
No related merge requests found
......@@ -42,7 +42,7 @@ def valid_locations():
user_home = os.path.expanduser("~")
result = []
if user_home != "~":
result = [os.path.join(user_home, ".diceware"), ]
result = [os.path.join(user_home, ".diceware.ini"), ]
return result
......
......@@ -14,5 +14,5 @@ class TestConfigModule(object):
new_home.ensure_dir()
monkeypatch.setenv("HOME", str(new_home))
assert valid_locations() == [
str(new_home / ".diceware")
str(new_home / ".diceware.ini")
]
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment