mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-15 19:50:29 +03:00
Rename write_metadata to specify txt
This commit is contained in:
parent
885a3a73f1
commit
082e275aa1
2 changed files with 4 additions and 4 deletions
|
|
@ -61,14 +61,14 @@ def main():
|
|||
# read in metadata.py
|
||||
with open(metadatapath, 'r') as f:
|
||||
cur_content = f.read()
|
||||
metadata.write_metadata(s, app)
|
||||
metadata.write_txt_metadata(s, app)
|
||||
content = s.getvalue()
|
||||
s.close()
|
||||
if content != cur_content:
|
||||
print(metadatapath)
|
||||
else:
|
||||
with open(metadatapath, 'w') as f:
|
||||
metadata.write_metadata(f, app)
|
||||
metadata.write_txt_metadata(f, app)
|
||||
|
||||
logging.debug("Finished.")
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue