mirror of
https://github.com/onionshare/onionshare.git
synced 2025-07-31 18:38:57 -04:00
Fixed bug in validating downloads dir related to moving settings into common
This commit is contained in:
parent
14d7921bb9
commit
89544694cc
1 changed files with 1 additions and 1 deletions
|
@ -98,7 +98,7 @@ def main(cwd=None):
|
||||||
except:
|
except:
|
||||||
print(strings._('error_cannot_create_downloads_dir').format(common.settings.get('downloads_dir')))
|
print(strings._('error_cannot_create_downloads_dir').format(common.settings.get('downloads_dir')))
|
||||||
valid = False
|
valid = False
|
||||||
if valid and not os.access(settings.get('downloads_dir'), os.W_OK):
|
if valid and not os.access(common.settings.get('downloads_dir'), os.W_OK):
|
||||||
print(strings._('error_downloads_dir_not_writable').format(common.settings.get('downloads_dir')))
|
print(strings._('error_downloads_dir_not_writable').format(common.settings.get('downloads_dir')))
|
||||||
valid = False
|
valid = False
|
||||||
if not valid:
|
if not valid:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue