Blob Blame Raw
diff -up uranium-lulzbot-3.6.8/UM/Qt/Bindings/i18nCatalogProxy.py.qt512 uranium-lulzbot-3.6.8/UM/Qt/Bindings/i18nCatalogProxy.py
--- uranium-lulzbot-3.6.8/UM/Qt/Bindings/i18nCatalogProxy.py.qt512	2019-05-14 09:39:04.710614213 -0400
+++ uranium-lulzbot-3.6.8/UM/Qt/Bindings/i18nCatalogProxy.py	2019-05-14 09:39:22.733261951 -0400
@@ -86,9 +86,9 @@ class i18nCatalogProxy(QObject): # [Code
     #   \todo Move this to a more generic place so more things can use it.
     def _wrapFunction(self, engine, this_object, function):
         # JavaScript code that wraps the Python method call in a closure
-        wrap_js = """function(this_object) {{
+        wrap_js = """(function(this_object) {{
             return function({args}) {{ return this_object.{function}({args}) }}
-        }}"""
+        }})"""
 
         # Get the function name and argument list.
         function_name = function.__name__