From 141ef33f7e73dc6bcb4432d4d3fb1f8fe56a5d5e Mon Sep 17 00:00:00 2001 From: Veiko Aasa Date: Tue, 25 Feb 2020 15:32:42 +0200 Subject: [PATCH] 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 Reviewed-by: James Valleroy --- plinth/modules/transmission/forms.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plinth/modules/transmission/forms.py b/plinth/modules/transmission/forms.py index 95f251a62..30a081cee 100644 --- a/plinth/modules/transmission/forms.py +++ b/plinth/modules/transmission/forms.py @@ -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',