had a friend download the .zip instead of cloning it which straight up broke the updater which is nice and perfect
This commit is contained in:
parent
6344506fc5
commit
f99b782cde
3 changed files with 10 additions and 0 deletions
|
@ -20,6 +20,13 @@ except ImportError:
|
|||
psutilavaliable = False
|
||||
print(RED, _('missing_requests_psutil'), RESET)
|
||||
|
||||
def iscloned():
|
||||
if os.path.exists(".git"):
|
||||
return True
|
||||
else:
|
||||
print(f"{RED}{(_('not_cloned'))}{RESET}")
|
||||
sys.exit(1)
|
||||
|
||||
def check_missing_translations():
|
||||
if LOCALE == "en":
|
||||
print("Locale is English, skipping missing key check.")
|
||||
|
@ -277,6 +284,7 @@ def start_checks():
|
|||
print(f"{YELLOW}{(_('checks_disabled'))}{RESET}")
|
||||
return
|
||||
print(_('running_prestart_checks'))
|
||||
iscloned()
|
||||
check_missing_translations()
|
||||
check_requirements()
|
||||
check_latency()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue