debug of automatic choice

This commit is contained in:
Lionel Dricot 2022-01-23 10:44:19 +01:00
parent 9131c5621f
commit ac4d6547d2
1 changed files with 1 additions and 1 deletions

View File

@ -2349,7 +2349,7 @@ def main():
# being refreshed (0 = never refreshed if it already exists)
# - savetotour :if True, newly cached items are added to tour
if args.assume_yes:
self.automatic_choice = "y"
gc.automatic_choice = "y"
def add_to_tour(gitem):
if gitem.is_cache_valid():
print(" -> adding to tour: %s" %gitem.url)