From: daid Date: Wed, 26 Jun 2013 06:11:47 +0000 (+0200) Subject: Make serial port detection also work if the port is configured on a none-auto-detect... X-Git-Tag: 13.06.4~5 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=921bb570093a2bf6205e1488adbccf396c0c876c;p=cura.git Make serial port detection also work if the port is configured on a none-auto-detect port. --- diff --git a/Cura/util/machineCom.py b/Cura/util/machineCom.py index aae99eb2..64404c0f 100644 --- a/Cura/util/machineCom.py +++ b/Cura/util/machineCom.py @@ -56,7 +56,7 @@ def machineIsConnected(): if port == 'AUTO': return len(serialList(True)) > 0 if platform.system() == "Windows": - return port in serialList(True) + return port in serialList() return os.path.isfile(port) def baudrateList():