summaryrefslogtreecommitdiff
path: root/src/maker
diff options
context:
space:
mode:
authorrahulp132022-02-22 01:34:24 +0530
committerrahulp132022-02-22 01:34:24 +0530
commit9fcfe12644a7aa88d9f43025eb2065252d4d40e6 (patch)
tree602078be4b16b8cbda6fd193ec68544bab6b8986 /src/maker
parentf79c48908f3a082a70512fbb0f38ec3b0b724e43 (diff)
downloadeSim-9fcfe12644a7aa88d9f43025eb2065252d4d40e6.tar.gz
eSim-9fcfe12644a7aa88d9f43025eb2065252d4d40e6.tar.bz2
eSim-9fcfe12644a7aa88d9f43025eb2065252d4d40e6.zip
Check for ToS using defined function
Diffstat (limited to 'src/maker')
-rwxr-xr-xsrc/maker/Maker.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/maker/Maker.py b/src/maker/Maker.py
index 01095d91..4e71d7fd 100755
--- a/src/maker/Maker.py
+++ b/src/maker/Maker.py
@@ -371,10 +371,10 @@ Please check if Verilog File Chosen.")
self.optionsgrid.addWidget(self.runoptions, 0, 4)
# self.optionsbox.setLayout(self.optionsgrid)
# self.grid.addWidget(self.creategroup(), 1, 0, 5, 0)
- if not os.path.isfile(home + "/.makerchip_accepted"):
+ if not makerchipTOSAccepted(False):
self.acceptTOS = QtWidgets.QPushButton("Accept Makerchip TOS")
self.optionsgroupbtn.addButton(self.acceptTOS)
- self.acceptTOS.clicked.connect(self.makerchipaccepted)
+ self.acceptTOS.clicked.connect(lambda: makerchipTOSAccepted(True))
self.optionsgrid.addWidget(self.acceptTOS, 0, 5)
# self.optionsbox.setLayout(self.optionsgrid)
# self.grid.addWidget(self.creategroup(), 1, 0, 5, 0)