Skip to content

Commit

Permalink
Fix for match partial words setting
Browse files Browse the repository at this point in the history
  • Loading branch information
machinewrapped committed Jun 1, 2023
1 parent ffd4d06 commit dfbe2e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion PySubtitleGPT/Options.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ def update(self, options):
if isinstance(options, Options):
return self.update(options.options)

options = {k: v for k, v in options.items() if v}
options = {k: v for k, v in options.items() if v is not None}
self.options.update(options)

def api_key(self):
Expand Down

0 comments on commit dfbe2e0

Please sign in to comment.