From ac4d6547d2ba9ad791c2574168225dc011b517f4 Mon Sep 17 00:00:00 2001 From: Lionel Dricot Date: Sun, 23 Jan 2022 10:44:19 +0100 Subject: [PATCH] debug of automatic choice --- offpunk.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/offpunk.py b/offpunk.py index 6b7734d..c991102 100755 --- a/offpunk.py +++ b/offpunk.py @@ -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)