From 6f34648cf13a8710c767d553e3313985f5d3fa28 Mon Sep 17 00:00:00 2001 From: Trygve Laugstøl Date: Sun, 15 Jul 2018 11:30:54 +0200 Subject: undo --- test/test_digikey.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test') diff --git a/test/test_digikey.py b/test/test_digikey.py index 051c66f..015b7ca 100644 --- a/test/test_digikey.py +++ b/test/test_digikey.py @@ -9,7 +9,7 @@ from itertools import groupby basedir = os.path.dirname(os.path.abspath(__file__)) digikey = dk.Digikey() -client = dk.DigikeyClient(digikey, event_handler=lambda kind, msg: print("{}:{}".format(kind, msg))) +client = dk.DigikeyClient(digikey, on_download=print) @pytest.mark.digikey -- cgit v1.2.3