From ba846c53f83b8d4f0b7ec37e28301e3e79898c76 Mon Sep 17 00:00:00 2001 From: derEisele Date: Mon, 2 Oct 2017 15:50:55 +0200 Subject: [PATCH] Optimize imports --- G213Colors.py | 2 -- main.py | 3 +-- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/G213Colors.py b/G213Colors.py index 699e779..57fd308 100644 --- a/G213Colors.py +++ b/G213Colors.py @@ -24,11 +24,9 @@ from __future__ import print_function -import sys import usb.core import usb.util import binascii -import platform standardColor = 'ffb4aa' # Standard color, i found this color to produce a white color on my G213 diff --git a/main.py b/main.py index 6a94066..060f581 100644 --- a/main.py +++ b/main.py @@ -2,12 +2,11 @@ from __future__ import print_function import G213Colors +from time import sleep import gi import sys -import platform gi.require_version('Gtk', '3.0') from gi.repository import Gtk -from time import sleep NAME = "G213 Colors" PRODUCTS = ["G213", "G203"]