IW4M-Admin/Master/master/resources/version.py

9 lines
292 B
Python
Raw Normal View History

from flask_restful import Resource
from master import config
class Version(Resource):
def get(self):
return {
'current-version-stable' : config['current-version-stable'],
'current-version-prerelease' : config['current-version-prerelease']
}, 200