summaryrefslogtreecommitdiff
path: root/src/maker/Maker.py
diff options
context:
space:
mode:
authorrahulp132022-02-22 01:38:49 +0530
committerrahulp132022-02-22 01:38:49 +0530
commitb6dcef53727c4a216d7b80d3085c1c0e4651a95a (patch)
treea3ed39f9b0144594367a644176391b49fd950d5a /src/maker/Maker.py
parent9fcfe12644a7aa88d9f43025eb2065252d4d40e6 (diff)
downloadeSim-b6dcef53727c4a216d7b80d3085c1c0e4651a95a.tar.gz
eSim-b6dcef53727c4a216d7b80d3085c1c0e4651a95a.tar.bz2
eSim-b6dcef53727c4a216d7b80d3085c1c0e4651a95a.zip
Fix crash issue due to recursive file/directory access
Diffstat (limited to 'src/maker/Maker.py')
-rwxr-xr-xsrc/maker/Maker.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/maker/Maker.py b/src/maker/Maker.py
index 4e71d7fd..f3f8b93e 100755
--- a/src/maker/Maker.py
+++ b/src/maker/Maker.py
@@ -125,6 +125,10 @@ class Maker(QtWidgets.QWidget):
QtWidgets.QMessageBox.Ok | QtWidgets.QMessageBox.Cancel)
if reply == QtWidgets.QMessageBox.Ok:
self.addverilog()
+
+ if self.verilogfile == "":
+ return
+
self.obj_Appconfig.print_info('Add Verilog File Called')
elif reply == QtWidgets.QMessageBox.Cancel: