Skip to content

Commit 41114df

Browse files
committed
typing fix
1 parent 753849e commit 41114df

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

prime_backup/mcdr/command/commands.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ def callback(backup_id: Optional[int], err: Optional[Exception]):
129129
self.task_manager.add_task(CreateBackupTask(source, comment), callback)
130130

131131
def cmd_back(self, source: CommandSource, context: CommandContext):
132-
def backup_id_consumer(backup_id: int):
132+
def backup_id_consumer(backup_id: Optional[int]):
133133
needs_confirm = context.get('confirm', 0) == 0
134134
fail_soft = context.get('fail_soft', 0) > 0
135135
verify_blob = context.get('no_verify', 0) == 0

0 commit comments

Comments
 (0)