diff options
author | Melody Horn <melody@boringcactus.com> | 2021-03-29 18:08:48 -0600 |
---|---|---|
committer | Melody Horn <melody@boringcactus.com> | 2021-03-29 18:08:48 -0600 |
commit | fb52b99e17335cd98f4ff08109914c03b5fcf124 (patch) | |
tree | 670392fd10f0d804a8ce06bc257655e8bef9c09f | |
parent | 7bfdfcbb2a415a60abf906f6033b932dce99ccf7 (diff) | |
download | where-packaged-fb52b99e17335cd98f4ff08109914c03b5fcf124.tar.gz where-packaged-fb52b99e17335cd98f4ff08109914c03b5fcf124.zip |
don't print the newest version
-rw-r--r-- | app.py | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -15,7 +15,6 @@ def hello_world(): def badge(package: str): versions = repos.get_versions(package) newest_version = max(v for family in versions.values() for v in family.values()) - print(newest_version) rendered = render_template('badge.svg.jinja', versions=versions, newest_version=newest_version) response = make_response(rendered) response.headers['Content-Type'] = 'image/svg+xml' |