mirror of
https://github.com/onionshare/onionshare.git
synced 2025-02-17 13:02:42 -05:00
Fixed bug in validating downloads dir related to moving settings into common
This commit is contained in:
parent
76d299a6c9
commit
8e82c07039
@ -98,7 +98,7 @@ def main(cwd=None):
|
||||
except:
|
||||
print(strings._('error_cannot_create_downloads_dir').format(common.settings.get('downloads_dir')))
|
||||
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')))
|
||||
valid = False
|
||||
if not valid:
|
||||
|
Loading…
x
Reference in New Issue
Block a user