mirror of
https://github.com/lilydjwg/nvchecker
synced 2025-01-19 12:40:52 +00:00
fix a NameError
This commit is contained in:
parent
5cb229a26f
commit
57ae4c54f1
@ -21,5 +21,5 @@ def _pkg_done(name, callback, res):
|
||||
callback(name, None)
|
||||
return
|
||||
|
||||
version = [r['pkgver'] for r in info['results'] if r['repo'] != 'testing'][0]
|
||||
version = [r['pkgver'] for r in data['results'] if r['repo'] != 'testing'][0]
|
||||
callback(name, version)
|
||||
|
Loading…
Reference in New Issue
Block a user