mirror of
https://github.com/VLSIDA/OpenRAM.git
synced 2026-08-31 10:15:46 +02:00
Check for None before checking DRC tool
This commit is contained in:
@@ -68,7 +68,7 @@ class lef:
|
||||
def lef_write(self, lef_name):
|
||||
""" Write the entire lef of the object to the file. """
|
||||
|
||||
if OPTS.drc_exe[0] == "magic":
|
||||
if OPTS.drc_exe and OPTS.drc_exe[0] == "magic":
|
||||
self.magic_lef_write(lef_name)
|
||||
return
|
||||
|
||||
|
||||
Reference in New Issue
Block a user