Invert logic

main
Bob Mottram 2024-04-20 14:33:31 +01:00
parent d0b42d374b
commit e5acbdcd2e
1 changed files with 3 additions and 3 deletions

View File

@ -502,9 +502,9 @@ def html_person_options(default_timeline: str,
'\n <button type="submit" class="buttonsmall" ' + \ '\n <button type="submit" class="buttonsmall" ' + \
'name="submitAllowQuotes">' + \ 'name="submitAllowQuotes">' + \
translate['Save'] + '</button><br>\n' translate['Save'] + '</button><br>\n'
if quote_toots_allowed(base_dir, nickname, domain, if not quote_toots_allowed(base_dir, nickname, domain,
options_nickname, options_nickname,
options_domain_full): options_domain_full):
checkbox_str = checkbox_str.replace(' checked>', '>') checkbox_str = checkbox_str.replace(' checked>', '>')
options_str += checkbox_str options_str += checkbox_str