mirror of
https://github.com/lilydjwg/nvchecker.git
synced 2025-03-10 06:14:02 +00:00
fix a NameError
This commit is contained in:
parent
5cb229a26f
commit
57ae4c54f1
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue