From 4ccbe78fbc82a8f2dab26c237dffe812432332a8 Mon Sep 17 00:00:00 2001 From: NW/RL Date: Sat, 13 Apr 2024 17:48:42 -0500 Subject: Shitty readme update that I might revert --- steamrelationships/constants.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'steamrelationships/constants.py') diff --git a/steamrelationships/constants.py b/steamrelationships/constants.py index cf52151..2f07364 100644 --- a/steamrelationships/constants.py +++ b/steamrelationships/constants.py @@ -2,6 +2,7 @@ def constant(f): def fset(self, value): raise TypeError + def fget(self): return f() return property(fget, fset) @@ -13,7 +14,7 @@ class _Const(object): @constant def DAY_IN_NANO() -> int: - return (8.64 * (10 ** 13)) + return int(8.64 * (10 ** 13)) @constant def JSON_INDENT() -> int: -- cgit v1.2.3