tests fix

This commit is contained in:
ingvar1995 2016-11-01 00:24:37 +03:00
parent 137195c8f2
commit 9f87f3dc3e
2 changed files with 8 additions and 7 deletions

View file

@ -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