Commit 0bb9d185 by Guba Sándor Committed by Bach Dániel

operations: add task parameter to Disk.save_as

parent d713a4fd
...@@ -444,7 +444,7 @@ class SaveAsTemplateOperation(InstanceOperation): ...@@ -444,7 +444,7 @@ class SaveAsTemplateOperation(InstanceOperation):
def __try_save_disk(disk): def __try_save_disk(disk):
try: try:
return disk.save_as() return disk.save_as(task)
except Disk.WrongDiskTypeError: except Disk.WrongDiskTypeError:
return disk return disk
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment