Skip to content
Snippets Groups Projects
Commit 84a76140 authored by Phil's avatar Phil
Browse files

Made send(string) work again

parent c53f4314
No related branches found
No related tags found
No related merge requests found
...@@ -204,6 +204,8 @@ def sndrcv(pks, pkt, timeout = 2, inter = 0, verbose=None, chainCC=0, retry=0, m ...@@ -204,6 +204,8 @@ def sndrcv(pks, pkt, timeout = 2, inter = 0, verbose=None, chainCC=0, retry=0, m
def __gen_send(s, x, inter=0, loop=0, count=None, verbose=None, *args, **kargs): def __gen_send(s, x, inter=0, loop=0, count=None, verbose=None, *args, **kargs):
if type(x) is str:
x = Raw(load=x)
if not isinstance(x, Gen): if not isinstance(x, Gen):
x = SetGen(x) x = SetGen(x)
if verbose is None: if verbose is None:
......
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