Skip to content

Commit 5cd457f

Browse files
committed
fix
1 parent 9046fff commit 5cd457f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

uncoder-core/app/translator/core/render.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ def __init__(self):
211211
}
212212

213213
def generate_prefix(self, log_source_signature: Optional[LogSourceSignature], functions_prefix: str = "") -> str: # noqa: ARG002
214-
if log_source_signature:
214+
if log_source_signature and str(log_source_signature):
215215
return f"{log_source_signature} {self.and_token}"
216216
return ""
217217

0 commit comments

Comments
 (0)