mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-03-11 09:04:54 +00:00
transmission: Allow to submit download directory if it is creatable
transmission-deamon creates the directory if it doesn't exist. Signed-off-by: Veiko Aasa <veiko17@disroot.org> Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
parent
e7afa69155
commit
141ef33f7e
@ -15,7 +15,7 @@ class TransmissionForm(DirectorySelectForm):
|
||||
|
||||
def __init__(self, *args, **kw):
|
||||
validator = DirectoryValidator(
|
||||
username=reserved_usernames[0], check_writable=True)
|
||||
username=reserved_usernames[0], check_creatable=True)
|
||||
super(TransmissionForm, self).__init__(
|
||||
title=_('Download directory'),
|
||||
default='/var/lib/transmission-daemon/downloads',
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user