using single quotes

This commit is contained in:
Gautam krishna R 2020-09-08 13:51:27 +05:30 committed by GitHub
parent 8605a9760e
commit edf6e1715e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -57,7 +57,7 @@ def get_stats() -> str:
print("The Data seems to be empty. Please wait for a day for the data to be filled in.")
return '```text\nNo Activity tracked this Week\n```'
for lang in lang_data[:5]:
if lang['hours`] == 0 and lang['minutes`] == 0:
if lang['hours'] == 0 and lang['minutes'] == 0:
continue
lth = len(lang['name'])
ln_text = len(lang['text'])