Browse Source

Use `with` in `macdeployqtplus` script.

0.15
Chris Gavin 8 years ago
parent
commit
e8babc4330
  1. 3
      contrib/macdeploy/macdeployqtplus

3
contrib/macdeploy/macdeployqtplus

@ -674,9 +674,8 @@ else:
if verbose >= 2: if verbose >= 2:
print("+ Installing qt.conf +") print("+ Installing qt.conf +")
f = open(os.path.join(applicationBundle.resourcesPath, "qt.conf"), "wb") with open(os.path.join(applicationBundle.resourcesPath, "qt.conf"), "wb") as f:
f.write(qt_conf.encode()) f.write(qt_conf.encode())
f.close()
# ------------------------------------------------ # ------------------------------------------------

Loading…
Cancel
Save