Fix hard-coded new line separator
This commit is contained in:
parent
15769a7f3a
commit
fb79ba0616
|
@ -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
|
||||
|
|
|
@ -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)
|
||||
)
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue