mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-09-16 16:02:33 +03:00
write_metadata fixes
This commit is contained in:
parent
53ed335d4b
commit
aa3ca80ae6
2 changed files with 2 additions and 2 deletions
|
@ -506,7 +506,7 @@ def checkupdates_app(app, first=True):
|
|||
if commitmsg:
|
||||
metadatapath = os.path.join('metadata', app['id'] + '.txt')
|
||||
with open(metadatapath, 'w') as f:
|
||||
metadata.write_metadata(f, app)
|
||||
metadata.write_metadata('txt', f, app)
|
||||
if options.commit:
|
||||
logging.info("Commiting update for " + metadatapath)
|
||||
gitcmd = ["git", "commit", "-m", commitmsg]
|
||||
|
|
|
@ -249,7 +249,7 @@ def main():
|
|||
|
||||
metadatapath = os.path.join('metadata', package + '.txt')
|
||||
with open(metadatapath, 'w') as f:
|
||||
metadata.write_metadata(f, app)
|
||||
metadata.write_metadata('txt', f, app)
|
||||
logging.info("Wrote " + metadatapath)
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue