no blank line in tour file
This commit is contained in:
parent
843ce388c8
commit
8651a14e34
2
av98.py
2
av98.py
|
@ -1855,7 +1855,7 @@ def main():
|
||||||
if gitem.is_cache_valid():
|
if gitem.is_cache_valid():
|
||||||
print(" -> adding to tour: ",gitem.url)
|
print(" -> adding to tour: ",gitem.url)
|
||||||
with open(gc.tourfile,mode='a') as tf:
|
with open(gc.tourfile,mode='a') as tf:
|
||||||
line = gitem.url + "\n"
|
line = gitem.url.strip() + "\n"
|
||||||
tf.write(line)
|
tf.write(line)
|
||||||
if depth > 0:
|
if depth > 0:
|
||||||
d = depth - 1
|
d = depth - 1
|
||||||
|
|
Loading…
Reference in New Issue