mirror of
https://github.com/lilydjwg/nvchecker.git
synced 2025-03-10 06:14:02 +00:00
Merge pull request #24 from felixonmars/cpan-fix
CPAN fix: version can be an integer and crash nvchecker
This commit is contained in:
commit
13c1253c19
1 changed files with 1 additions and 1 deletions
|
@ -14,5 +14,5 @@ def get_version(name, conf, callback):
|
|||
|
||||
def _cpan_done(name, callback, res):
|
||||
data = json.loads(res.body.decode('utf-8'))
|
||||
version = data['version']
|
||||
version = str(data['version'])
|
||||
callback(name, version)
|
||||
|
|
Loading…
Add table
Reference in a new issue