Improve displayed sample config on config app page

This commit is contained in:
Taylor Helsper 2021-06-23 23:13:53 -05:00
parent 1edd90b016
commit f75d8f1466

View File

@ -684,7 +684,7 @@ def has_customized_app_versions():
def get_app_version_data(): def get_app_version_data():
try: try:
contents = subprocess.check_output('cat /usr/share/mynode/mynode_app_versions.sh | grep "_VERSION="', shell=True) contents = subprocess.check_output('cat /usr/share/mynode/mynode_app_versions.sh | grep -v "_VERSION_FILE=" | grep "="', shell=True)
return contents return contents
except Exception as e: except Exception as e:
return "ERROR" return "ERROR"