Skip to content
Snippets Groups Projects
Commit d36833a7 authored by Eilís Ní Fhlannagáin's avatar Eilís Ní Fhlannagáin
Browse files

fossup: Fix searching for ~ rc file


Some bugs in looking for the local rc file

Signed-off-by: default avatarEilís Ní Fhlannagáin <pidge@toganlabs.com>
parent 73f12174
Branches
No related tags found
No related merge requests found
......@@ -193,8 +193,8 @@ if __name__ == "__main__":
)
defaultrc="/etc/fossuprc"
if os.path.exists(os.path.expanduser("~/fossuprc"))
defaultrc=os.path.expanduser("~/fossuprc")
if os.path.exists(os.path.expanduser("~/.fossuprc")):
defaultrc=os.path.expanduser("~/.fossuprc")
parser.add_argument("-c", dest="conf",
default=defaultrc,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment