summaryrefslogtreecommitdiff
path: root/src/maker/Maker.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/maker/Maker.py')
-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)