Fix for own commit r51178, duplicate line.

This commit is contained in:
Lukas Toenne
2012-10-08 12:02:55 +00:00
parent db54caf430
commit 5a9bb39e34

View File

@@ -108,7 +108,6 @@ def create_qtc_project_main():
f.write("// ADD PREDEFINED MACROS TO %s_custom.config!\n" % FILE_NAME) f.write("// ADD PREDEFINED MACROS TO %s_custom.config!\n" % FILE_NAME)
qtc_custom_cfg = os.path.join(PROJECT_DIR, "%s_custom.config" % FILE_NAME) qtc_custom_cfg = os.path.join(PROJECT_DIR, "%s_custom.config" % FILE_NAME)
if os.path.exists(qtc_custom_cfg): if os.path.exists(qtc_custom_cfg):
f.write(fc.read())
fc = open(qtc_custom_cfg, 'r') fc = open(qtc_custom_cfg, 'r')
f.write(fc.read()) f.write(fc.read())
fc.close() fc.close()