diff --git a/setup.cfg b/setup.cfg index 6b44b4e..9180ff0 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,6 +1,6 @@ [metadata] name = fsub -version = 0.0.3 +version = 0.0.4 author = Augusto Lenz Gunsch author_email = augustogunsch@tutanota.com description = CLI SubRip editor diff --git a/src/fsub/fsub.py b/src/fsub/fsub.py index 74f786d..167f47b 100755 --- a/src/fsub/fsub.py +++ b/src/fsub/fsub.py @@ -91,10 +91,10 @@ class Subtitle: return False def __repr__(self): - return '{}\n{} --> {}\n{}'.format( - self.number, + return '{}{}{} --> {}{}{}'.format( + self.number, os.linesep, self.time_start, self.time_end, - os.linesep.join(self.content) + os.linesep, os.linesep.join(self.content) )