mirror of
https://github.com/morpheus65535/bazarr.git
synced 2025-02-23 14:26:02 +08:00
no log: rollback subliminal_path's subtitle changes
Needs testing. This change seems not safe.
This commit is contained in:
parent
6e521143e1
commit
29383ba742
1 changed files with 0 additions and 6 deletions
|
@ -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())
|
||||
|
|
Loading…
Reference in a new issue