feat: add comprehensive GitHub workflow and development tools
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
def to_string(s):
|
||||
if isinstance(s, str):
|
||||
return s
|
||||
elif isinstance(s, bytes):
|
||||
return s.decode("utf-8", "ignore")
|
||||
else:
|
||||
return s # Not a string we care about
|
||||
Reference in New Issue
Block a user