From 8981426467209612612216788736947718079657 Mon Sep 17 00:00:00 2001 From: Glenn Smith Date: Thu, 6 Mar 2025 15:42:40 -0500 Subject: Python: Fix blank flag_write in another place --- python/architecture.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'python') diff --git a/python/architecture.py b/python/architecture.py index 66d3229d..36904096 100644 --- a/python/architecture.py +++ b/python/architecture.py @@ -1621,6 +1621,8 @@ class Architecture(metaclass=_ArchitectureMetaClass): :return: flag write type :rtype: int """ + if write_type == '': + return FlagWriteTypeIndex(0) return self._flag_write_types[write_type] def get_semantic_flag_class_by_name(self, sem_class: SemanticClassName) -> SemanticClassIndex: -- cgit v1.3.1