Fix hard-coded new line separator
This commit is contained in:
parent
15769a7f3a
commit
fb79ba0616
|
@ -1,6 +1,6 @@
|
||||||
[metadata]
|
[metadata]
|
||||||
name = fsub
|
name = fsub
|
||||||
version = 0.0.3
|
version = 0.0.4
|
||||||
author = Augusto Lenz Gunsch
|
author = Augusto Lenz Gunsch
|
||||||
author_email = augustogunsch@tutanota.com
|
author_email = augustogunsch@tutanota.com
|
||||||
description = CLI SubRip editor
|
description = CLI SubRip editor
|
||||||
|
|
|
@ -91,10 +91,10 @@ class Subtitle:
|
||||||
return False
|
return False
|
||||||
|
|
||||||
def __repr__(self):
|
def __repr__(self):
|
||||||
return '{}\n{} --> {}\n{}'.format(
|
return '{}{}{} --> {}{}{}'.format(
|
||||||
self.number,
|
self.number, os.linesep,
|
||||||
self.time_start, self.time_end,
|
self.time_start, self.time_end,
|
||||||
os.linesep.join(self.content)
|
os.linesep, os.linesep.join(self.content)
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue