Getting error : Conflict between bytes and str type
old_server_uuid = p3.communicate()[0].split("|")[1].strip()
Getting the below error:
Traceback (most recent call last):
File "create_env_file.py", line 68, in <module>
data = create_env_source_list(node_name, ip_address)
File "create_env_file.py", line 14, in create_env_source_list
raise(ex)
File "create_env_file.py", line 12, in create_env_source_list
old_server_uuid = p3.communicate()[0].split("|")[1].strip()
TypeError: a bytes-like object is required, not 'str'