From 6bcee624d60bb28783afd8034be5d17191a92129 Mon Sep 17 00:00:00 2001 From: James Waples Date: Sat, 15 Jul 2023 10:35:33 +0100 Subject: [PATCH] Path: Fix undefined variable name in Command.py This is a rename that got missed in #6637. I ran into this bug when trying to post a job using the `linuxcnc` post processor on a Windows 11 machine, running the weekly build titled `FreeCAD_weekly-builds-33576-2023-07-13-conda-Windows-x86_64-py310.7z`. --- src/Mod/Path/Path/Post/Command.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Mod/Path/Path/Post/Command.py b/src/Mod/Path/Path/Post/Command.py index d79a895550..6cff4d6cab 100644 --- a/src/Mod/Path/Path/Post/Command.py +++ b/src/Mod/Path/Path/Post/Command.py @@ -242,7 +242,7 @@ def resolveFileName(job, subpartname, sequencenumber): requestedfile = QtGui.QFileDialog.getSaveFileName( QtGui.QApplication.activeWindow(), "Output File", fullPath ) - if foo[0]: + if requestedfile[0]: fullPath = requestedfile[0] else: fullPath = None