Tools: uploader.py squelch warning when not able to find hwdefs
This commit is contained in:
parent
82dd7ece6c
commit
1b481b6e6a
@ -704,6 +704,8 @@ class uploader(object):
|
||||
if adir is None:
|
||||
continue
|
||||
filepath = os.path.join(hwdef_dir, adir, "hwdef.dat")
|
||||
if not os.path.exists(filepath):
|
||||
continue
|
||||
fh = open(filepath)
|
||||
if fh is None:
|
||||
# print("Failed to open (%s)" % filepath)
|
||||
|
Loading…
Reference in New Issue
Block a user