Cleanup: add-on, remove unused parameter

No functional changes.
This commit is contained in:
Sybren A. Stüvel 2022-07-29 10:25:23 +02:00
parent 8ddc03d6ef
commit 764973f116
2 changed files with 1 additions and 2 deletions

View File

@ -87,7 +87,6 @@ class JobTypePropertyGroup:
def eval_and_assign( def eval_and_assign(
self, self,
context: bpy.types.Context, context: bpy.types.Context,
job: _SubmittedJob,
setting_key: str, setting_key: str,
setting_eval: str, setting_eval: str,
) -> None: ) -> None:

View File

@ -134,7 +134,7 @@ class FLAMENCO_OT_eval_setting(FlamencoOpMixin, bpy.types.Operator):
return {"CANCELLED"} return {"CANCELLED"}
propgroup: JobTypePropertyGroup = context.scene.flamenco_job_settings propgroup: JobTypePropertyGroup = context.scene.flamenco_job_settings
propgroup.eval_and_assign(context, job, self.setting_key, self.setting_eval) propgroup.eval_and_assign(context, self.setting_key, self.setting_eval)
return {"FINISHED"} return {"FINISHED"}