Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Hacksaar
Haxotel
Commits
8120c09f
Commit
8120c09f
authored
Aug 01, 2014
by
Ralf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
filter out \r
parent
bdb27958
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
player.py
player.py
+1
-0
No files found.
player.py
View file @
8120c09f
...
...
@@ -53,6 +53,7 @@ class Player(Thing):
assert
self
.
conn
==
conn
,
"The player's connection changed?"
data
=
conn
.
recv
(
1024
)
# Should be ready
if
data
:
data
=
data
.
replace
(
b
'
\r
'
,
b
''
)
self
.
buffer
+=
data
pos
=
self
.
buffer
.
find
(
b
'
\n
'
)
while
pos
>=
0
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment