GabMus / razerCommander

GTK contol center for managing razer peripherals on Linux
GNU General Public License v3.0
164 stars 25 forks source link

Syntax / Property Error #59

Closed vozeldr closed 6 years ago

vozeldr commented 6 years ago

There is a syntax error on this line with the string formatting. Also, I think because of some of the rewrite, there is no longer a device.name... it's device.device.name. I know you can't really test this particular line without an unsupported device. This replacement for the line should fix the issue.

print('Skipping device: {}'.format(device.device.name))

https://github.com/GabMus/razerCommander/blob/8160debe84069e026e788d3cd036987572a29f35/razercommander/__main__.py#L250

GabMus commented 6 years ago

duplicate of #61 now fixed