nvchecker/nvchecker_source/manual.py
lilydjwg a2a239bdc6 nvchecker_source/manual: convert to string
because it's often written as an int or float, especially when
converting from YAML.
2020-08-30 17:49:39 +08:00

6 lines
174 B
Python

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