diff --git a/src/ReportBase/_GraphvizReportDialog.py b/src/ReportBase/_GraphvizReportDialog.py index d01cee1cf..e958128c9 100644 --- a/src/ReportBase/_GraphvizReportDialog.py +++ b/src/ReportBase/_GraphvizReportDialog.py @@ -57,6 +57,7 @@ from _ReportDialog import ReportDialog from _PaperMenu import PaperFrame from gen.plug.menu import NumberOption, TextOption, EnumeratedListOption, \ BooleanOption +import constfunc #------------------------------------------------------------------------------- # @@ -88,7 +89,7 @@ _RATIO = [ { 'name' : _("Minimal size"), 'value': "compress" }, _NOTELOC = [ { 'name' : _("Top"), 'value' : "t" }, { 'name' : _("Bottom"), 'value' : "b" }] -if os.sys.platform == "win32": +if constfunc.win(): _DOT_FOUND = Utils.search_for("dot.exe") if Utils.search_for("gswin32c.exe") == 1: