diff options
author | rahulp13 | 2022-02-22 01:34:24 +0530 |
---|---|---|
committer | rahulp13 | 2022-02-22 01:34:24 +0530 |
commit | 9fcfe12644a7aa88d9f43025eb2065252d4d40e6 (patch) | |
tree | 602078be4b16b8cbda6fd193ec68544bab6b8986 /src/maker/Maker.py | |
parent | f79c48908f3a082a70512fbb0f38ec3b0b724e43 (diff) | |
download | eSim-9fcfe12644a7aa88d9f43025eb2065252d4d40e6.tar.gz eSim-9fcfe12644a7aa88d9f43025eb2065252d4d40e6.tar.bz2 eSim-9fcfe12644a7aa88d9f43025eb2065252d4d40e6.zip |
Check for ToS using defined function
Diffstat (limited to 'src/maker/Maker.py')
-rwxr-xr-x | src/maker/Maker.py | 4 |
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) |