Added missing return statement that caused an exception
parent
c9fb4e1ded
commit
24bb0fdf05
|
@ -239,6 +239,7 @@ class Settings(object):
|
||||||
def setInt(self, path, value, force=False):
|
def setInt(self, path, value, force=False):
|
||||||
if value is None:
|
if value is None:
|
||||||
self.set(path, None, force)
|
self.set(path, None, force)
|
||||||
|
return
|
||||||
|
|
||||||
try:
|
try:
|
||||||
intValue = int(value)
|
intValue = int(value)
|
||||||
|
|
Loading…
Reference in New Issue