Skip to content

Commit

Permalink
Stripping of more whitespace characters in SDP message line
Browse files Browse the repository at this point in the history
  • Loading branch information
Tobias Wulff committed Jun 22, 2010
1 parent 0e34d0c commit 4344fe2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sdp.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ def parseSdpMessage(msg):
lines = msg.split("\n")
for line in lines:
# Remove leading and trailing whitespaces from line
line = line.strip(' ')
line = line.strip('\n\r\t ')

# Get first two characters of line and check for "type="
if len(line) < 2:
Expand Down

0 comments on commit 4344fe2

Please sign in to comment.