Skip to content

Commit

Permalink
improve docs and comments
Browse files Browse the repository at this point in the history
  • Loading branch information
jrief committed Sep 3, 2024
1 parent a71fa77 commit 435f400
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
6 changes: 5 additions & 1 deletion README-Finder.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,11 @@ ancestors. This allows to easily move files between those folders.
### Multiple Favrourite Folders

Each user can have multiple favourite folders. This allows him to quickly access those folders from
the navigation bar and move files and folders between them.
the navigation bar. It also it pssoble to drag a file from the current view into one of the tabs for
of the favorite folders.


### Implementation Details

The new user interface is based on the [React](https://reactjs.org/) framework with the
[DnD-Kit](https://docs.dndkit.com/) as its main additional dependency.
Expand Down
2 changes: 1 addition & 1 deletion finder/contrib/image/pil/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ class PILImageModel(ImageModel):
Model for image files which can be transformed by the PIL package.
"""
accept_mime_types = ['image/jpeg', 'image/webp', 'image/png', 'image/gif']
exif_values = set(ExifTags.Base.__members__.values()) # TODO: some values can be removed
exif_values = set(ExifTags.Base.__members__.values()) # TODO: some EXIF values can be removed

class Meta:
app_label = 'finder'
Expand Down
2 changes: 1 addition & 1 deletion finder/models/inode.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def _validate_accept_mime_types(new_class):
@property
def real_models(self):
"""
Returns all real (excluding proxy models) that inherit from InodeModel.
Yields all real (excluding proxy models) that inherit from InodeModel.
"""
yield self._inode_models['finder.FolderModel']
for model in self._inode_models.values():
Expand Down

0 comments on commit 435f400

Please sign in to comment.