diff options
Diffstat (limited to 'core/models/caves.py')
-rw-r--r-- | core/models/caves.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/core/models/caves.py b/core/models/caves.py index 263eaf1..313935a 100644 --- a/core/models/caves.py +++ b/core/models/caves.py @@ -39,7 +39,9 @@ todo='''- Move utility function into utils.py ''' def writetrogglefile(filepath, filecontent): - '''Set permissions to rw-rw-r-- and commit the new saved file to git''' + '''Set permissions to rw-rw-r-- and commit the new saved file to git + Callers should handle exception PermissionsError explicitly + ''' filepath = Path(filepath) cwd = filepath.parent filename = filepath.name |