diff --git a/src/core/utils.py b/src/core/utils.py index 4e2af8ef37e4979bd9b2cdbb0517b100fa904aff..99b1c7e257e7d32e6eacabaadda601b3ac0b9a69 100755 --- a/src/core/utils.py +++ b/src/core/utils.py @@ -141,8 +141,6 @@ def is_32_bit_test(): if target_cpu == "arm": return True return False - - def get_decode(stream): if not isinstance(stream, str) and not isinstance(stream, bytes): ret = str(stream) @@ -151,4 +149,5 @@ def get_decode(stream): ret = stream.decode("utf-8", errors="ignore") except (ValueError, AttributeError, TypeError): ret = str(stream) + return ret