chiark / gitweb /
Make serial port detection also work if the port is configured on a none-auto-detect...
authordaid <daid303@gmail.com>
Wed, 26 Jun 2013 06:11:47 +0000 (08:11 +0200)
committerdaid <daid303@gmail.com>
Wed, 26 Jun 2013 06:11:47 +0000 (08:11 +0200)
Cura/util/machineCom.py

index aae99eb2b749401c34971b82f4755dd411a3eab1..64404c0fbc80894538c74450a16fa6ee8da61d0e 100644 (file)
@@ -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():