diff --git a/scripts/tsmerge.py b/scripts/tsmerge.py index a15bdf5..8372c5e 100644 --- a/scripts/tsmerge.py +++ b/scripts/tsmerge.py @@ -155,7 +155,7 @@ if __name__ == "__main__": files = kwargs["files"] allfiles = [] if os.path.isfile(files): - allfiles = open(files).readlines() + allfiles = open(files).read().splitlines() else: allfiles = glob.glob(files)