From df6da1f77a5412418bf63e9e4a5fa69e39a93ea5 Mon Sep 17 00:00:00 2001 From: YoursFunny Date: Thu, 23 Nov 2023 14:06:38 +0800 Subject: [PATCH] fix(cafe): adjust property of second cafe setting --- tasks/cafe/cafe.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/tasks/cafe/cafe.py b/tasks/cafe/cafe.py index 8c72b70..c0614a5 100644 --- a/tasks/cafe/cafe.py +++ b/tasks/cafe/cafe.py @@ -36,9 +36,7 @@ class Cafe(CafeUI): def _is_second_cafe_on(self): return False - @property - def is_second_cafe_on(self): - return self._is_second_cafe_on + is_second_cafe_on = property(_is_second_cafe_on) def _handle_cafe(self, status): match status: