From fb3200e8474ede24f6d7fa9065f1eac0f93a5f9c Mon Sep 17 00:00:00 2001 From: Syres916 <46537884+Syres916@users.noreply.github.com> Date: Thu, 23 Mar 2023 15:04:38 +0000 Subject: [PATCH] [App] Urgent Backout commit 0998756 https://github.com/FreeCAD/FreeCAD/commit/09987560c3f41a29a588344cc1ac974c3cc20ccf Humble apologies, back to the drawing board and more testing required. --- src/App/PropertyPythonObject.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/App/PropertyPythonObject.cpp b/src/App/PropertyPythonObject.cpp index c1c364d5bb..edf46f20c9 100644 --- a/src/App/PropertyPythonObject.cpp +++ b/src/App/PropertyPythonObject.cpp @@ -121,11 +121,6 @@ void PropertyPythonObject::fromString(const std::string& repr) try { if (repr.empty()) return; - if (repr == "null") { - Py::String typestr(this->object.type().str()); - Base::Console().Log("PropertyPythonObject::fromString(): repr is null for object %s\n", typestr.as_string().c_str()); - return; - } Py::Module pickle(PyImport_ImportModule("json"),true); if (pickle.isNull()) throw Py::Exception();