mirror of
https://github.com/Silicon1602/srdl2sv.git
synced 2024-11-14 03:03:35 +00:00
Fix bug where an empty search path caused srdl2sv to crash
This commit is contained in:
parent
8881821252
commit
d298e79ec1
@ -124,6 +124,9 @@ class CliArguments():
|
||||
else:
|
||||
config['search_paths'] = args.search_paths
|
||||
|
||||
if not config['search_paths']:
|
||||
config['search_paths'] = []
|
||||
|
||||
# Save timestamp, so that it can be used across the compiler
|
||||
config['ts'] = time.localtime()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user