From 3c08b8708da46ec79e0b7d1226f2c1e1c6b29f5c Mon Sep 17 00:00:00 2001 From: Atalya Alon Date: Sun, 3 Nov 2024 12:07:43 +0200 Subject: [PATCH] modify DayNight to be LabeledCode --- anyway/backend_constants.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/anyway/backend_constants.py b/anyway/backend_constants.py index 36103168..a6eb7dde 100644 --- a/anyway/backend_constants.py +++ b/anyway/backend_constants.py @@ -292,7 +292,7 @@ def labels(cls): } -class DayNight(Enum): +class DayNight(LabeledCode): DAY = 1 NIGHT = 5