From 6f34648cf13a8710c767d553e3313985f5d3fa28 Mon Sep 17 00:00:00 2001 From: Trygve Laugstøl Date: Sun, 15 Jul 2018 11:30:54 +0200 Subject: undo --- src/ee/tools/digikey_download_facts.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ee') diff --git a/src/ee/tools/digikey_download_facts.py b/src/ee/tools/digikey_download_facts.py index 54ff640..923b996 100644 --- a/src/ee/tools/digikey_download_facts.py +++ b/src/ee/tools/digikey_download_facts.py @@ -46,7 +46,7 @@ parser.add_argument("--force", args = parser.parse_args() digikey = dk.Digikey() -client = dk.DigikeyClient(digikey, event_handler=lambda kind, msg: (log.debug if kind == "on-download" else log.info)(msg)) +client = dk.DigikeyClient(digikey, on_download=log.debug) repo = dk.DigikeyRepository(digikey, args.out) -- cgit v1.2.3