Fix template to expect pathclass for download_directory.

This commit is contained in:
voussoir 2021-09-15 18:53:23 -07:00
parent bf7407daa2
commit b038099573
No known key found for this signature in database
GPG key ID: 5F7554F8C26DACCB

View file

@ -280,7 +280,7 @@ https://stackoverflow.com/a/35153397
</div> </div>
<div> <div>
<input type="text" id="set_download_directory_input" placeholder="Queuefile directory" value="{{channel.download_directory or ''}}"/> <input type="text" id="set_download_directory_input" placeholder="Queuefile directory" value="{{channel.download_directory.absolute_path if channel.download_directory else ''}}"/>
<button id="set_download_directory_button" class="button_with_spinner" onclick="return set_download_directory_form();">Set directory</button> <button id="set_download_directory_button" class="button_with_spinner" onclick="return set_download_directory_form();">Set directory</button>
</div> </div>