mirror of
https://github.com/mynodebtc/mynode.git
synced 2024-12-24 13:38:11 +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():
|
||||
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
|
||||
except Exception as e:
|
||||
return "ERROR"
|
||||
|
|
Loading…
Reference in New Issue
Block a user