nvchecker_source/manual: convert to string

because it's often written as an int or float, especially when
converting from YAML.
This commit is contained in:
lilydjwg 2020-08-30 17:49:39 +08:00
parent 290240eafb
commit a2a239bdc6

View File

@ -2,4 +2,4 @@
# Copyright (c) 2013-2020 lilydjwg <lilydjwg@gmail.com>, et al.
async def get_version(name, conf, **kwargs):
return conf.get('manual').strip() or None
return str(conf.get('manual')).strip() or None