mirror of
https://github.com/stefanpejcic/openpanel
synced 2025-06-26 18:28:26 +00:00
Update and rename version_chech.py to version_check.py
This commit is contained in:
parent
67ca6ec4d6
commit
ff602f90e7
@ -1,7 +1,11 @@
|
|||||||
import requests
|
import requests
|
||||||
|
|
||||||
|
'''
|
||||||
|
Check if current panel version is +1 then the latest
|
||||||
|
'''
|
||||||
|
|
||||||
local_version_file = '/usr/local/panel/version'
|
local_version_file = '/usr/local/panel/version'
|
||||||
latest_version_url = 'https://openpanel.com/version'
|
latest_version_url = 'https://openpanel.org/version'
|
||||||
|
|
||||||
def get_local_version():
|
def get_local_version():
|
||||||
try:
|
try:
|
Loading…
Reference in New Issue
Block a user