From b135f5681db582439d179180561f51a71b6a74bb Mon Sep 17 00:00:00 2001 From: Damien De Paoli Date: Sat, 2 Oct 2021 14:49:07 +1000 Subject: [PATCH] Fixed bug-69 - FullPathOnFS() was wrong for first dir in a path --- files.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/files.py b/files.py index 6be56f8..323a03e 100644 --- a/files.py +++ b/files.py @@ -97,10 +97,10 @@ class Entry(db.Model): s=self.in_dir.in_path.path_prefix + '/' if len(self.in_dir.rel_path) > 0: s += self.in_dir.rel_path + '/' + s += self.name # this occurs when we have a dir that is the root of a path else: - s=self.dir_details.in_path.path_prefix+'/' - s += self.name + s=self.dir_details.in_path.path_prefix return s def __repr__(self):