clan-cli: Fix bug where --target_host is getting ignored
This commit is contained in:
@@ -10,6 +10,6 @@ class ClanJSONEncoder(json.JSONEncoder):
|
||||
return o.to_json()
|
||||
# Check if the object is a dataclass
|
||||
if dataclasses.is_dataclass(o):
|
||||
return dataclasses.asdict(o)
|
||||
return dataclasses.asdict(o) # type: ignore[call-overload]
|
||||
# Otherwise, use the default serialization
|
||||
return super().default(o)
|
||||
|
||||
Reference in New Issue
Block a user