Commit 5d83e11b3407b9d0b676922ead42ec72b6fbb7c1

Authored by Michael Mayer
1 parent 96602a11

fixed tsmerge behavior when reading files from ascii list

Showing 1 changed file with 1 additions and 1 deletions
scripts/tsmerge.py
... ... @@ -155,7 +155,7 @@ if __name__ == "__main__":
155 155 files = kwargs["files"]
156 156 allfiles = []
157 157 if os.path.isfile(files):
158   - allfiles = open(files).readlines()
  158 + allfiles = open(files).read().splitlines()
159 159 else:
160 160 allfiles = glob.glob(files)
161 161  
... ...