Skip to content

Commit

Permalink
experimental fix to remove both CR and LF for Mojo compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
nkaminski committed Jul 26, 2016
1 parent 1edee4c commit 2e067c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stratasys.py
Expand Up @@ -62,7 +62,7 @@ def objproc(key, value):
def stratasys_out_proc(stra):
if not(stra):
return None
stra=stra.replace(b'\n',b'').split(b';')
stra=stra.replace(b'\n',b'').replace(b'\r',b'').split(b';')
out_dict={}
bracesplit = re.compile(r"(?P<category>machineStatus\([^\s]+\)) (?P<value>\{.*\})")
for s in stra:
Expand Down

0 comments on commit 2e067c0

Please sign in to comment.