~tardypad/wee-most

7e6b7a3e9480e79137dc96f0c7439f35dea3ac45 — Damien Tardy-Panis a month ago b3c9943 master
Allow use of ~ in download_location config value
1 files changed, 1 insertions(+), 1 deletions(-)

M wee_most/file.py
M wee_most/file.py => wee_most/file.py +1 -1
@@ 11,7 11,7 @@ class File:
        self.url = wee_most.http.build_file_url(kwargs["id"], server)

def prepare_download_location():
    location = config.download_location
    location = os.path.expanduser(config.download_location)

    if not os.path.exists(location):
        try: