From 76950a323ea134aa5f450e4bf0c44d394f7c487f Mon Sep 17 00:00:00 2001 From: rogersun Date: Fri, 10 Jul 2026 10:20:59 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E8=87=AA=E5=8A=A8=E8=8E=B7?= =?UTF-8?q?=E5=8F=96=E6=9C=AA=E6=9D=A57=E5=A4=A9=E6=96=B0=E7=89=87?= =?UTF-8?q?=E7=9A=84=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ai/utils/show_func.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ai/utils/show_func.py b/ai/utils/show_func.py index 68b1f18..bb4d2af 100644 --- a/ai/utils/show_func.py +++ b/ai/utils/show_func.py @@ -148,10 +148,10 @@ def get_new_suggestion(cinema, show_date): return None -def get_new_movie(start_date='today'): +def get_new_movie(start_date): cinema_list = TestCinema.objects.all() start_date_obj = datetime.datetime.today() - if start_date != 'today': + if start_date is not None: try: start_date_obj = datetime.datetime.strptime(start_date, '%Y-%m-%d') except ValueError: