Sublime Text 2 & 3 plugin for automatic time tracking and metrics generated from your programming activity.
BSD 3-Clause "New" or "Revised" License
526
stars
47
forks
source link
Fix Python 3.8 warning when getting Unix time zone #106
Closed
jamesa closed 2 years ago
I noticed a WakaTime error in my status bar today when installing this package.
SyntaxWarning: "is not" with a literal. Did you mean "!="?"
My Python version is 3.9.7 and I think this warning got added in Python 3.8.
This small fix swaps
is not 0
for!= 0
which should fix the problem.I tested this locally by installing the modified package and making sure my WakaTime dashboard was still being updated correctly.
Thank you!