missing write function for compose_id

This commit is contained in:
Louis Abel 2022-07-01 13:13:00 -07:00
parent c1f1be9353
commit e47ca962af
Signed by: label
GPG Key ID: B37E62D143879B36

View File

@ -981,7 +981,7 @@ class RepoSync:
if not os.path.exists(metadata_dir):
os.makedirs(metadata_dir, exist_ok=True)
with open(metadata_dir + '/COMPOSE_ID') as f:
with open(metadata_dir + '/COMPOSE_ID', "w+") as f:
f.write(self.compose_id)
f.close()