mirror of
https://github.com/mynodebtc/mynode.git
synced 2024-12-25 05:58:06 +00:00
Improve displayed sample config on config app page
This commit is contained in:
parent
1edd90b016
commit
f75d8f1466
|
@ -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"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user