Commit 3cf8491e by Bach Dániel

windows: fix wmi

parent 9cb6ee64
......@@ -367,6 +367,8 @@ class SerialLineReceiver(SerialLineReceiverBase):
def main():
if system == 'Windows':
import pythoncom
pythoncom.CoInitialize()
port = r'\\.\COM1'
else:
port = '/dev/ttyS0'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment