Skip to content

Commit

Permalink
Merge pull request #387 from 1130646208/fix/f-string-issue
Browse files Browse the repository at this point in the history
fix: SyntaxError: f-string: unmatched '['
  • Loading branch information
jianchang512 committed May 8, 2024
2 parents b9afe21 + 6049d6a commit 346d839
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions videotrans/task/trans_create.py
Original file line number Diff line number Diff line change
Expand Up @@ -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']}")

0 comments on commit 346d839

Please sign in to comment.