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):