From 2ed96078c5ccd1bd78f68bc64bff8d11ae9d30b9 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 cb21604 https://github.com/FreeCAD/FreeCAD/commit/cb2160449412b6470996a2b9b4a4a8ed172d6717 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 c1c364d5bbfa..edf46f20c91f 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();