mirror of
https://github.com/platomav/BIOSUtilities.git
synced 2025-05-13 06:34:42 -04:00
Fixed potential crash at files without extension(s)
This commit is contained in:
parent
65467da21c
commit
03ae0cf070
1 changed files with 1 additions and 1 deletions
|
@ -81,7 +81,7 @@ def path_stem(in_path):
|
|||
|
||||
# Get list of path file extensions
|
||||
def path_suffixes(in_path):
|
||||
return PurePath(in_path).suffixes
|
||||
return PurePath(in_path).suffixes or ['']
|
||||
|
||||
# Check if path is absolute
|
||||
def is_path_absolute(in_path):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue