Skip to content
Snippets Groups Projects
Commit b3c1f073 authored by Tamas Gal's avatar Tamas Gal :speech_balloon:
Browse files

Tag -> string

parent b77a59f7
No related branches found
No related tags found
No related merge requests found
......@@ -73,7 +73,7 @@ class Client(object):
while True:
log.info(" Waiting for control host Prefix")
prefix = Prefix(data=self.socket.recv(Prefix.SIZE))
if valid_tag.match(prefix.tag) is None:
if valid_tag.match(str(prefix.tag)) is None:
log.error("Invalid tag or corrupt message recieved: '{0}'"
.format(prefix.tag))
self._reconnect()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment