Skip to content

Commit f080413

Browse files
author
Raven
committed
Resolve Construct failing to start due to failed Git import
1 parent d2bd8b9 commit f080413

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

construct.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
import chardet
88
from chardet.universaldetector import UniversalDetector
99
import urllib.parse
10-
import git
1110
import shutil
1211

1312
from PyQt5.QtWidgets import (
@@ -1268,6 +1267,7 @@ def loadStyle():
12681267
QMessageBox.critical(None, "Git Not Found",
12691268
"Git is not installed on your system.\n\nPlease install Git to run this program.")
12701269
sys.exit(1)
1270+
import git
12711271
app = QApplication(sys.argv)
12721272
loadStyle()
12731273
file_to_open = None

0 commit comments

Comments
 (0)