diff options
author | vitiko98 <[email protected]> | 2022-09-02 23:43:01 -0400 |
---|---|---|
committer | vitiko98 <[email protected]> | 2022-09-02 23:43:01 -0400 |
commit | 29383ba7421aa01720f2da211773bc887ca5fd97 (patch) | |
tree | d4c869b98569d865e3a6ec2d5c26a56c2abb366e | |
parent | 6e521143e1de1f720dd9cf908aa7c907696187f0 (diff) | |
download | bazarr-29383ba7421aa01720f2da211773bc887ca5fd97.tar.gz bazarr-29383ba7421aa01720f2da211773bc887ca5fd97.zip |
no log: rollback subliminal_path's subtitle changesv1.1.2-beta.2
Needs testing. This change seems not safe.
-rw-r--r-- | libs/subliminal_patch/subtitle.py | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/libs/subliminal_patch/subtitle.py b/libs/subliminal_patch/subtitle.py index 1cbc55845..ab54626cd 100644 --- a/libs/subliminal_patch/subtitle.py +++ b/libs/subliminal_patch/subtitle.py @@ -388,12 +388,6 @@ class Subtitle(Subtitle_): """ :return: string """ - # ASS and other formats are not tested and are likely to break the application. - # We will ignore them for now. - if self.format != "srt": - logger.debug("'%s' format does not support mods", self.format) - return self.content - if not self.mods: return fix_text(self.content.decode(encoding=self.get_encoding()), **ftfy_defaults).encode( encoding=self.get_encoding()) |