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'