Browse Source

fix PackageModel.get_readme_file()

shut-new-model
Niklas Rosenstein 9 months ago
parent
commit
06452874c9
No known key found for this signature in database GPG Key ID: 6D269B33D25F6C6
1 changed files with 1 additions and 1 deletions
  1. + 1
    - 1
      src/shut/model/package.py

+ 1
- 1
src/shut/model/package.py

@ -156,7 +156,7 @@ class PackageModel(AbstractProjectModel):
directory = os.path.dirname(self.filename)
if self.data.readme:
return os.path.abspath(os.path.join(directory, self.readme))
return os.path.abspath(os.path.join(directory, self.data.readme))
return _get_file_in_directory(
directory=directory,

Loading…
Cancel
Save