From b8f4a152d3b8761a13a830cf4f266e9fc42d61fc Mon Sep 17 00:00:00 2001 From: Yorik van Havre Date: Mon, 30 Aug 2021 15:36:13 +0200 Subject: [PATCH] Start: Fixed faling test --- src/Mod/Start/StartPage/StartPage.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/Mod/Start/StartPage/StartPage.py b/src/Mod/Start/StartPage/StartPage.py index 883785e576..f1270a8bc4 100644 --- a/src/Mod/Start/StartPage/StartPage.py +++ b/src/Mod/Start/StartPage/StartPage.py @@ -26,6 +26,7 @@ import six import sys,os,FreeCAD,FreeCADGui,tempfile,time,zipfile,re +import urllib.parse from . import TranslationTexts from PySide import QtCore,QtGui @@ -248,7 +249,7 @@ def buildCard(filename,method,arg=None): infostring += "\n\n" + encode(finfo[5]) if size: result += '
  • ' - result += '' + result += '' result += ''+encode(basename)+'' result += '
    ' result += '

    '+encode(basename)+'

    ' @@ -425,7 +426,7 @@ def handle(): SECTION_CUSTOM += encode(buildCard(filename,method="LoadCustom.py?filename="+str(dn)+"_")) SECTION_CUSTOM += "" # hide the custom section tooltip if custom section is set (users know about it if they enabled it) - HTML = HTML.replace("id=\"customtip\"","id=\"customtip\" style=\"display:none;\"") + HTML = HTML.replace("id=\"customtip\" class","id=\"customtip\" style=\"display:none;\" class") dn += 1 HTML = HTML.replace("SECTION_CUSTOM",SECTION_CUSTOM)