don't replace .

This commit is contained in:
James Turk 2024-07-28 03:14:50 -04:00
parent 1b91006dcf
commit 5d31ac23cd

View File

@ -42,7 +42,10 @@ def get_files(dirname):
def short_path(f):
return str(f).replace(short_path.base_dir, "")
if "/" in short_path.base_dir:
return str(f).replace(short_path.base_dir, "")
else:
return str(f)
short_path.base_dir = ""