1.1 --- a/moinformat/input/directory.py Sat Apr 13 19:25:53 2019 +0200
1.2 +++ b/moinformat/input/directory.py Sat Apr 13 22:41:54 2019 +0200
1.3 @@ -65,7 +65,7 @@
1.4
1.5 "Return all attachment filenames in the context."
1.6
1.7 - return self.dir.select_files("%s/*" % self.attachments_dir, self.nested)
1.8 + return self.dir.select_files(join(self.attachments_dir, "*"), self.nested)
1.9
1.10 # Page characteristics.
1.11
1.12 @@ -74,7 +74,7 @@
1.13 "Return the subpage filenames of 'pagename'."
1.14
1.15 pattern = self.to_filename("%s/*" % pagename)
1.16 - return self.dir.select_files(pattern, self.nested)
1.17 + return self.dir.select_files(pattern)
1.18
1.19 def subpages(self, pagename):
1.20