Merge branch 'master' into woodhead_pywxdump
Signed-off-by: xaoyaoo <37209452+xaoyaoo@users.noreply.github.com>
This commit is contained in:
commit
4fe017143d
@ -244,17 +244,15 @@ def wordcloud_generator(text, out_path="", is_show=False, img_path="", font="C:\
|
||||
wordcloud_img = wordcloud1.to_image()
|
||||
wordcloud_img.show()
|
||||
|
||||
|
||||
def read_BytesExtra(data):
|
||||
def read_BytesExtra(bytes_extra):
|
||||
if bytes_extra is None:
|
||||
return None
|
||||
deserialize_data = None
|
||||
try:
|
||||
deserialize_data, message_type = blackboxprotobuf.decode_message(bytes_extra)
|
||||
return deserialize_data
|
||||
except Exception as e:
|
||||
print(f"can not decode bytes_extra:{e}")
|
||||
# print(f"can not decode bytes_extra:{e}")
|
||||
return None
|
||||
return deserialize_data
|
||||
|
||||
if __name__ == '__main__':
|
||||
data = ''
|
||||
|
Loading…
Reference in New Issue
Block a user