From 24bb0fdf05e1c97daed98223da3fc1751eac5056 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Thu, 27 Jun 2013 21:05:01 +0200 Subject: [PATCH] Added missing return statement that caused an exception --- octoprint/settings.py | 1 + 1 file changed, 1 insertion(+) diff --git a/octoprint/settings.py b/octoprint/settings.py index 71251b4..f260667 100644 --- a/octoprint/settings.py +++ b/octoprint/settings.py @@ -239,6 +239,7 @@ class Settings(object): def setInt(self, path, value, force=False): if value is None: self.set(path, None, force) + return try: intValue = int(value)