tests fix
This commit is contained in:
parent
137195c8f2
commit
9f87f3dc3e
2 changed files with 8 additions and 7 deletions
|
@ -45,7 +45,7 @@ def convert_time(t):
|
|||
|
||||
|
||||
def append_slash(s):
|
||||
if s[-1] not in ('\\', '/'):
|
||||
if len(s) and s[-1] not in ('\\', '/'):
|
||||
s += '/'
|
||||
return s
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue