From 6049d6a3fd1f15bf5a90d9720af6806a1a633785 Mon Sep 17 00:00:00 2001 From: wsx Date: Wed, 8 May 2024 11:29:15 +0800 Subject: [PATCH] fix: SyntaxError: f-string: unmatched '[' --- videotrans/task/trans_create.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/videotrans/task/trans_create.py b/videotrans/task/trans_create.py index 20b12bc4..0e348293 100644 --- a/videotrans/task/trans_create.py +++ b/videotrans/task/trans_create.py @@ -411,11 +411,11 @@ def move_at_end(self): if not self.config_params['is_batch']: tools.set_process('', 'allow_edit', btnkey=self.init['btnkey']) #time.sleep(3) - print(f'结束100% {self.obj['raw_basename']}') + print(f"结束100% {self.obj['raw_basename']}") tools.set_process( f"{output}##{self.obj['raw_basename']}", 'succeed', btnkey=self.init['btnkey'] ) - tools.send_notification("Succeed", f'{self.obj["raw_basename"]}') + tools.send_notification("Succeed", f"{self.obj['raw_basename']}")