Remove strip()
Signed-off-by: Lev Rusanov <30170278+JDM170@users.noreply.github.com>
This commit is contained in:
@@ -53,7 +53,7 @@ def main():
|
|||||||
print("file not found")
|
print("file not found")
|
||||||
sysexit()
|
sysexit()
|
||||||
with open(args.file, encoding="utf-8") as f:
|
with open(args.file, encoding="utf-8") as f:
|
||||||
temp = list(filter(None, f.read().strip().split("\n")))
|
temp = list(filter(None, f.read().split("\n")))
|
||||||
list_from_file = temp.copy()
|
list_from_file = temp.copy()
|
||||||
new_file = temp.copy()
|
new_file = temp.copy()
|
||||||
video_len = len(list_from_file)
|
video_len = len(list_from_file)
|
||||||
|
|||||||
Reference in New Issue
Block a user