no blank line in tour file

This commit is contained in:
Lionel Dricot 2021-12-17 13:59:34 +01:00
parent 843ce388c8
commit 8651a14e34
1 changed files with 1 additions and 1 deletions

View File

@ -1855,7 +1855,7 @@ def main():
if gitem.is_cache_valid():
print(" -> adding to tour: ",gitem.url)
with open(gc.tourfile,mode='a') as tf:
line = gitem.url + "\n"
line = gitem.url.strip() + "\n"
tf.write(line)
if depth > 0:
d = depth - 1