Skip to content

Commit

Permalink
Fix autodetect in some instances
Browse files Browse the repository at this point in the history
  • Loading branch information
Gustav Hansen committed Jul 8, 2017
1 parent 1cd64a9 commit 5779416
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions hue_plus/hue_ui.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/usr/bin/env python3
VERSION="1.4.0"
VERSION="1.4.1"
import sys
from time import sleep
import os
Expand Down Expand Up @@ -205,7 +205,7 @@ def error(self, message):
def get_port(self):
ports = []
for port in list_ports.comports():
if 'MCP2200' in port[1] or 'USB Serial Device' in port[1]:
if 'MCP2200' in port[1] or 'USB Serial Device' in port[1] or 'USB Serial Port' in port[1]:
ports.append(port[0])
if ports:
return ports[0]
Expand Down
2 changes: 1 addition & 1 deletion installer.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[Application]
name=hue_plus
version=1.4.0
version=1.4.1
publisher=Gustav Hansen
# How to launch the app - this calls the 'main' function from the 'myapp' package:
entry_point=hue_plus.hue_ui:main
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import os

setup(name='hue_plus',
version='1.4.0',
version='1.4.1',
description='A utility to control the NZXT Hue+ in Linux',
classifiers=[
'Development Status :: 5 - Production/Stable',
Expand Down
2 changes: 1 addition & 1 deletion version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.4.0
1.4.1

0 comments on commit 5779416

Please sign in to comment.