Add Submodule checks (#1682)

This commit is contained in:
Clinton Hall 2019-12-08 14:35:15 +13:00 committed by GitHub
commit 75ecbd4862
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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