spellcheck

This commit is contained in:
Matthias 2022-02-13 23:59:37 +01:00
parent 955f389d66
commit beb3bb38d4
No known key found for this signature in database
GPG Key ID: F50EF5741D33E076

View File

@ -69,7 +69,7 @@ def handle_error(error, do_raise: bool = True, do_log: bool = True, log_name: st
path_parts = [*path_obj.parts] path_parts = [*path_obj.parts]
path_parts[-1] = path_parts[-1].replace(path_obj.suffix, '') # remove suffix path_parts[-1] = path_parts[-1].replace(path_obj.suffix, '') # remove suffix
# remove path preixes # remove path prefixes
if path_parts[0] == 'plugin': if path_parts[0] == 'plugin':
path_parts.remove('plugin') path_parts.remove('plugin')
path_parts.pop(0) path_parts.pop(0)