mirror of
https://github.com/vikstrous/pirate-get
synced 2025-01-10 10:04:21 +01:00
Expand ~ in download path
This commit is contained in:
parent
ed0649d659
commit
db45e50508
@ -380,7 +380,8 @@ def main():
|
||||
# default options so we don't die later
|
||||
config.add_section('SaveToFile')
|
||||
config.set('SaveToFile', 'enabled', 'false')
|
||||
config.set('SaveToFile', 'directory', '~/downloads/pirate-get/')
|
||||
config.set('SaveToFile', 'directory',
|
||||
os.path.expanduser('~/downloads/pirate-get/'))
|
||||
|
||||
config.read([config_to_load()])
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user