From 413e5c71e2136bd77fef5e79dcfb232040a1aeb4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sybren=20A=2E=20St=C3=BCvel?= Date: Wed, 31 Aug 2022 11:35:31 +0200 Subject: [PATCH] Add-on: fix mypy warning No functional changes. --- addon/flamenco/job_types_propgroup.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/addon/flamenco/job_types_propgroup.py b/addon/flamenco/job_types_propgroup.py index 56732462..54a2eb4e 100644 --- a/addon/flamenco/job_types_propgroup.py +++ b/addon/flamenco/job_types_propgroup.py @@ -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