Skip to content
Snippets Groups Projects
Commit ad6a77d0 authored by Anton Sarukhanov's avatar Anton Sarukhanov
Browse files

--amend

parent dd840aa7
No related branches found
No related tags found
No related merge requests found
Pipeline #46 passed with stage
in 2 minutes and 51 seconds
......@@ -107,6 +107,7 @@ class DpsoundsAdapter(BaseAdapter):
adapter_cls = DpsoundsAdapter
def _make_int(str_in):
"""Cast string to int, ignoring any excess chars."""
return int(''.join(c for c in str_in if c.isdigit()))
"""Cast string to int, ignoring any excess chars."""
return int(''.join(c for c in str_in if c.isdigit()))
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