From cd2bb067133ba79495af989f1ddd50b96bbc66d0 Mon Sep 17 00:00:00 2001 From: Doman Date: Tue, 13 Jul 2021 17:42:01 +0200 Subject: [PATCH] everyone counts wpm as cpm/5 CRINGE --- fasttyper/stats.py | 4 ++-- setup.py | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/fasttyper/stats.py b/fasttyper/stats.py index cd2ac19..daeac3a 100644 --- a/fasttyper/stats.py +++ b/fasttyper/stats.py @@ -56,7 +56,7 @@ class Stats: @property def wpm(self): - return self.correct_words / self.total_minutes + return self.cpm / 5 @property def cpm(self): @@ -64,7 +64,7 @@ class Stats: @property def raw_wpm(self): - return self.total_words / self.total_minutes + return self.raw_cpm / 5 @property def raw_cpm(self): diff --git a/setup.py b/setup.py index 3c32288..dab6198 100644 --- a/setup.py +++ b/setup.py @@ -5,7 +5,8 @@ with open("README.md", "r", encoding="utf-8") as fh: setup( name="fasttyper-pkg-ickyicky", - version="0.0.3", + version="0.1", + :xa author="Piotr Domanski", author_email="pi.domanski@gmail.com", description="Minimalistic typing exercise",