From 7d49f20571b4dc6f8e75bb26ca172caad55a45ce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Mon, 2 Nov 2020 18:35:37 +0100 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20environment:=20include=2064bit=20fl?= =?UTF-8?q?ag?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/octoprint/environment.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/octoprint/environment.py b/src/octoprint/environment.py index c44f79150..f8be4d4fa 100644 --- a/src/octoprint/environment.py +++ b/src/octoprint/environment.py @@ -70,7 +70,11 @@ class EnvironmentDetector(object): return self._cache def _detect_os(self): - return {"id": get_os(), "platform": sys.platform} + return { + "id": get_os(), + "platform": sys.platform, + "bits": 64 if sys.maxsize > 2 ** 32 else 32, + } def _detect_python(self): result = {"version": "unknown", "pip": "unknown"}