Update and rename version_chech.py to version_check.py

This commit is contained in:
Stefan Pejcic 2024-11-05 18:26:08 +01:00 committed by GitHub
parent 67ca6ec4d6
commit ff602f90e7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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: