You've already forked wakapi-readme-stats
Fix 'NoneType' object is not subscriptable
Signed-off-by: Aravind Nair <22199259+aravindvnair99@users.noreply.github.com>
This commit is contained in:
3
main.py
3
main.py
@@ -241,7 +241,8 @@ def generate_commit_list(tz):
|
||||
if weekday == "Sunday":
|
||||
Sunday += 1
|
||||
except Exception as ex:
|
||||
print("Please Ignore this exception " + str(ex))
|
||||
if str(ex) != "'NoneType' object is not subscriptable":
|
||||
print("Exception occurred " + str(ex))
|
||||
|
||||
sumAll = morning + daytime + evening + night
|
||||
sum_week = Sunday + Monday + Tuesday + Friday + Saturday + Wednesday + Thursday
|
||||
|
||||
Reference in New Issue
Block a user