summaryrefslogtreecommitdiff
path: root/steamrelationships/constants.py
diff options
context:
space:
mode:
Diffstat (limited to 'steamrelationships/constants.py')
-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: