Add-on: fix mypy warning

No functional changes.
This commit is contained in:
Sybren A. Stüvel 2022-08-31 11:35:31 +02:00
parent 59f41d0546
commit 413e5c71e2

View File

@ -212,7 +212,8 @@ class JobTypePropertyGroup:
# This changes blendfile-relative paths to absolute.
# It does not resolve `..` entries, though.
abs_unclean = Path(bpy.path.abspath(str(filepath)))
return bpathlib.make_absolute(abs_unclean)
abs_clean: Path = bpathlib.make_absolute(abs_unclean)
return abs_clean
# Mapping from AvailableJobType.setting.type to a callable that converts a value