From 75ecbd48629f31c0456c99b726eff99a650e1530 Mon Sep 17 00:00:00 2001 From: Clinton Hall Date: Sun, 8 Dec 2019 14:35:15 +1300 Subject: [PATCH] Add Submodule checks (#1682) --- core/version_check.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/version_check.py b/core/version_check.py index f1c05ba9..a6dde88d 100644 --- a/core/version_check.py +++ b/core/version_check.py @@ -53,7 +53,7 @@ class CheckVersion(object): 'source': running from source without git """ # check if we're a windows build - if os.path.isdir(os.path.join(core.APP_ROOT, u'.git')): + if os.path.exists(os.path.join(core.APP_ROOT, u'.git')): install_type = 'git' else: install_type = 'source'