solve a crash with tour when argument and no url

This commit is contained in:
Ploum 2023-10-19 13:34:26 +02:00
parent 924eed3775
commit f05adf1b59
1 changed files with 1 additions and 1 deletions

View File

@ -785,7 +785,7 @@ Current tour can be listed with `tour ls` and scrubbed with `tour clear`."""
display = not self.sync_only
for l in self.get_renderer(url).get_links():
self.list_add_line("tour",url=l,verbose=False)
else:
elif self.current_url:
for index in line.split():
try:
pair = index.split('-')