mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-08 15:37:27 -06:00
Adding a marker for a correctly unresolved import on Linux and OSX
This commit is contained in:
parent
11798a0d42
commit
77961e83c2
1 changed files with 1 additions and 1 deletions
|
@ -223,7 +223,7 @@ class USBPrinterOutputDeviceManager(QObject, SignalEmitter, OutputDevicePlugin,
|
||||||
def getSerialPortList(self, only_list_usb = False):
|
def getSerialPortList(self, only_list_usb = False):
|
||||||
base_list = []
|
base_list = []
|
||||||
if platform.system() == "Windows":
|
if platform.system() == "Windows":
|
||||||
import winreg
|
import winreg #@UnresolvedImport
|
||||||
try:
|
try:
|
||||||
key = winreg.OpenKey(winreg.HKEY_LOCAL_MACHINE,"HARDWARE\\DEVICEMAP\\SERIALCOMM")
|
key = winreg.OpenKey(winreg.HKEY_LOCAL_MACHINE,"HARDWARE\\DEVICEMAP\\SERIALCOMM")
|
||||||
i = 0
|
i = 0
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue