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:
Veiko Aasa authored and James Valleroy committed 2020-03-02 20:51:44 -05:00
1 parent e7afa69155
commit 141ef33f7e
1 file changed
+1 -1
+1 -1
View File
@@ -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',