From 7068fae9d434de3d77c17f0c2eae2bb4615abd98 Mon Sep 17 00:00:00 2001 From: neatguycoding <15627489+NeatGuyCoding@users.noreply.github.com> Date: Thu, 17 Jul 2025 12:11:33 +0800 Subject: [PATCH] minor code fix: remove duplicate type check branch --- api/core/variables/types.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/api/core/variables/types.py b/api/core/variables/types.py index e39237dba5..e79b2410bf 100644 --- a/api/core/variables/types.py +++ b/api/core/variables/types.py @@ -91,8 +91,6 @@ class SegmentType(StrEnum): return SegmentType.OBJECT elif isinstance(value, File): return SegmentType.FILE - elif isinstance(value, str): - return SegmentType.STRING else: return None