MCPcopy Create free account
hub / github.com/blacktwin/JBOPS / arg_decoding

Function arg_decoding

killstream/kill_stream.py:107–112  ·  view source on GitHub ↗

Decode args, encode UTF-8

(arg)

Source from the content-addressed store, hash-verified

105
106
107def arg_decoding(arg):
108 """Decode args, encode UTF-8"""
109 if sys.version_info[0] < 3:
110 return arg.decode(TAUTULLI_ENCODING).encode('UTF-8')
111 else:
112 return arg
113
114
115def debug_dump_vars():

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected