Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
python-osc
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Analyze
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Andrew Haigh
python-osc
Commits
0b66c721
Commit
0b66c721
authored
7 years ago
by
Andrew Haigh
Browse files
Options
Downloads
Patches
Plain Diff
Fix Python 2 string handling in osc_types.get_string
parent
e720b4f8
Branches
master
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
pythonosc/parsing/osc_types.py
+1
-1
1 addition, 1 deletion
pythonosc/parsing/osc_types.py
with
1 addition
and
1 deletion
pythonosc/parsing/osc_types.py
+
1
−
1
View file @
0b66c721
...
...
@@ -61,7 +61,7 @@ def get_string(dgram, start_index):
"""
offset
=
0
try
:
while
dgram
[
start_index
+
offset
]
!=
0
:
while
dgram
[
start_index
+
offset
]
!=
'
\x00
'
:
offset
+=
1
if
offset
==
0
:
raise
ParseError
(
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment