[blinkx] Add extractor (Fixes #1972)
This commit is contained in:
parent
a19fd00cc4
commit
d7dda16888
3 changed files with 93 additions and 0 deletions
|
@ -1077,3 +1077,9 @@ def setproctitle(title):
|
|||
libc.prctl(15, ctypes.byref(buf), 0, 0, 0)
|
||||
except AttributeError:
|
||||
return # Strange libc, just skip this
|
||||
|
||||
|
||||
def remove_start(s, start):
|
||||
if s.startswith(start):
|
||||
return s[len(start):]
|
||||
return s
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue