From 854ff240e5fb455817d81ed038c9c63cf89b0883 Mon Sep 17 00:00:00 2001 From: solonovamax Date: Thu, 17 Mar 2022 15:50:59 -0400 Subject: [PATCH] Use for the badge style --- main.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/main.py b/main.py index 2e1bea0..80afae4 100644 --- a/main.py +++ b/main.py @@ -494,17 +494,17 @@ def get_stats(github): else: request_data = request.json() stats += '![Code Time](https://img.shields.io/badge/' + quote(str("Code Time")) + '-' + quote(str(request_data['data']['text'])) \ - + '-blue)\n\n' + + '-blue?style=for-the-badge)\n\n' if show_profile_view.lower() in truthy: request_data = run_v3_api(get_profile_view.substitute(owner=username, repo=username)) stats += '![Profile Views](https://img.shields.io/badge/' + quote(str(translate['Profile Views'])) + '-' + str( - request_data['count']) + '-blue)\n\n' + request_data['count']) + '-blue?style=for-the-badge)\n\n' if show_loc.lower() in truthy: stats += '![Lines of code](https://img.shields.io/badge/' + quote( str(translate['From Hello World I have written'])) + '-' + quote( - str(get_line_of_code())) + '%20' + quote(str(translate['Lines of code'])) + '-blue)\n\n' + str(get_line_of_code())) + '%20' + quote(str(translate['Lines of code'])) + '-blue?style=for-the-badge)\n\n' if show_short_info.lower() in truthy: stats += get_short_info(github)