summaryrefslogtreecommitdiff
path: root/steamrelationships
diff options
context:
space:
mode:
authorNW/RL <NWRL@dabikers.online>2024-04-13 17:48:42 -0500
committerNW/RL <NWRL@dabikers.online>2024-04-13 17:48:42 -0500
commit4ccbe78fbc82a8f2dab26c237dffe812432332a8 (patch)
treebb4664946ebc76c9d8dfa5b61620fabd2d5969d7 /steamrelationships
parentcc682f520f9941076b1515526b32fa9250364b5a (diff)
Shitty readme update that I might revert
Diffstat (limited to 'steamrelationships')
-rw-r--r--steamrelationships/constants.py3
1 files changed, 2 insertions, 1 deletions
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 @@
2def constant(f): 2def constant(f):
3 def fset(self, value): 3 def fset(self, value):
4 raise TypeError 4 raise TypeError
5
5 def fget(self): 6 def fget(self):
6 return f() 7 return f()
7 return property(fget, fset) 8 return property(fget, fset)
@@ -13,7 +14,7 @@ class _Const(object):
13 14
14 @constant 15 @constant
15 def DAY_IN_NANO() -> int: 16 def DAY_IN_NANO() -> int:
16 return (8.64 * (10 ** 13)) 17 return int(8.64 * (10 ** 13))
17 18
18 @constant 19 @constant
19 def JSON_INDENT() -> int: 20 def JSON_INDENT() -> int: