Kaydet (Commit) 43598605 authored tarafından Sjoerd Mullender's avatar Sjoerd Mullender

Let extensions start at the last period after the last slash in the

name.
üst 1cfb6b89
......@@ -62,7 +62,12 @@ def splitext(p):
for c in p:
if c == '/':
root, ext = root + ext + c, ''
elif c == '.' or ext:
elif c == '.':
if ext:
root, ext = root + ext, c
else:
ext = c
elif ext:
ext = ext + c
else:
root = root + c
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment