From 47976c81bea3af5bbf448b9085103ecdc5f8b09b Mon Sep 17 00:00:00 2001 From: angelblue05 Date: Sat, 26 Dec 2015 01:22:25 -0600 Subject: [PATCH] Fix typo --- resources/lib/clientinfo.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/resources/lib/clientinfo.py b/resources/lib/clientinfo.py index 22884c5d..5723db58 100644 --- a/resources/lib/clientinfo.py +++ b/resources/lib/clientinfo.py @@ -79,7 +79,8 @@ class ClientInfo(): try: GUID = open(GUID_file) - except IOError: # machine_guid does not exists. + except Exception as e: # machine_guid does not exists. + self.logMsg("Generating a new deviceid: %s" % e, 1) clientId = str("%012X" % uuid4()) GUID = open(GUID_file, 'w') GUID.write(clientId)