args for proces methods are pre-pared

This commit is contained in:
iLLiCiTiT 2020-07-29 14:21:57 +02:00
parent 7b7d4aa7a8
commit bb9e5ef4f9

View file

@ -353,15 +353,18 @@ class Delivery(BaseAction):
repre_path = self.path_from_represenation(repre, anatomy)
# TODO add backup solution where root of path from component
# is repalced with root
if not frame:
self.process_single_file(
repre_path, anatomy, anatomy_name, anatomy_data
)
args = (
repre_path,
anatomy,
anatomy_name,
anatomy_data,
format_dict
)
if not frame:
self.process_single_file(*args)
else:
self.process_sequence(
repre_path, anatomy, anatomy_name, anatomy_data
)
self.process_sequence(*args)
self.db_con.uninstall()