mirror of
https://github.com/f-droid/fdroidserver.git
synced 2026-10-23 12:42:44 -04:00
write_metadata fixes
This commit is contained in:
1 parent
53ed335d4b
commit
aa3ca80ae6
2 files changed
+2
-2
No files matched your search
@@ -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)
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user