To protect your data, the CISO officer has suggested users to enable 2FA as soon as possible.
Currently 2.7% of users enabled 2FA.

Commit 12925cb6 authored by Stefan Marr's avatar Stefan Marr
Browse files

Fix initialization for wrapped field of BigInteger and Double


Signed-off-by: default avatarStefan Marr <git@stefan-marr.de>
parent a15d7e95
...@@ -3,7 +3,7 @@ from som.vmobjects.object import Object ...@@ -3,7 +3,7 @@ from som.vmobjects.object import Object
class BigInteger(Object): class BigInteger(Object):
def __init__(self, nilObject): def __init__(self, nilObject):
Object.__init__(self, nilObject) Object.__init__(self, nilObject)
self._embedded_biginteger = None self._embedded_biginteger = 0L
def get_embedded_biginteger(self): def get_embedded_biginteger(self):
return self._embedded_biginteger return self._embedded_biginteger
......
...@@ -4,7 +4,7 @@ class Double(Object): ...@@ -4,7 +4,7 @@ class Double(Object):
def __init__(self, nilObject): def __init__(self, nilObject):
Object.__init__(self, nilObject) Object.__init__(self, nilObject)
self._embedded_double = None self._embedded_double = 0.0
def get_embedded_double(self): def get_embedded_double(self):
return self._embedded_double return self._embedded_double
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment