diff --git a/PySubtitleGPT/Options.py b/PySubtitleGPT/Options.py index 5c340c25..ce80e9c8 100644 --- a/PySubtitleGPT/Options.py +++ b/PySubtitleGPT/Options.py @@ -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):