Removed extraneous file open

pull/7092/head
Cruz Monrreal II 2018-06-04 12:02:49 -05:00
parent cdbae994d1
commit f689ace3e3
1 changed files with 1 additions and 2 deletions

View File

@ -458,8 +458,7 @@ def merge_region_list(region_list, destination, notify, padding=b'\xFF'):
makedirs(dirname(destination))
notify.info("Space used after regions merged: 0x%x" %
(merged.maxaddr() - merged.minaddr() + 1))
with open(destination, "wb+") as output:
merged.tofile(destination, format=format.strip("."))
merged.tofile(destination, format=format.strip("."))
def scan_resources(src_paths, toolchain, dependencies_paths=None,
inc_dirs=None, base_path=None, collect_ignores=False):