diff options
author | Trygve Laugstøl <trygvis@inamo.no> | 2018-07-14 15:00:49 +0200 |
---|---|---|
committer | Trygve Laugstøl <trygvis@inamo.no> | 2018-07-14 15:00:49 +0200 |
commit | 68b2f9bd888f86766fea254d6253f3b1e88cc8a4 (patch) | |
tree | 5103abc40c4e0b309588179d2b0f3720ddfc8e66 /src/ee/tools | |
parent | c5476aba69eded6ccc1343247219ea754e08e3ff (diff) | |
download | ee-python-68b2f9bd888f86766fea254d6253f3b1e88cc8a4.tar.gz ee-python-68b2f9bd888f86766fea254d6253f3b1e88cc8a4.tar.bz2 ee-python-68b2f9bd888f86766fea254d6253f3b1e88cc8a4.tar.xz ee-python-68b2f9bd888f86766fea254d6253f3b1e88cc8a4.zip |
wip
Diffstat (limited to 'src/ee/tools')
-rw-r--r-- | src/ee/tools/digikey_download_facts.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ee/tools/digikey_download_facts.py b/src/ee/tools/digikey_download_facts.py index 923b996..54ff640 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, on_download=log.debug) +client = dk.DigikeyClient(digikey, event_handler=lambda kind, msg: (log.debug if kind == "on-download" else log.info)(msg)) repo = dk.DigikeyRepository(digikey, args.out) |