From 1ccdd2e58b05b63a2b0bfa1409cf778607e6dc3f Mon Sep 17 00:00:00 2001 From: tcely Date: Thu, 13 Feb 2025 02:26:56 -0500 Subject: [PATCH] Integer is a closer fit for bool --- tubesync/sync/choices.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tubesync/sync/choices.py b/tubesync/sync/choices.py index 8c7e2d45..02fce158 100644 --- a/tubesync/sync/choices.py +++ b/tubesync/sync/choices.py @@ -45,7 +45,7 @@ class FileExtension(models.TextChoices): MKV = 'mkv', _('Matroska Multimedia Container') -class FilterSeconds(models.TextChoices): +class FilterSeconds(models.IntegerChoices): MIN = True, _('Minimum Length') MAX = False, _('Maximum Length')