From 2173560546808f4b35e50867ed0e7a472810f65a Mon Sep 17 00:00:00 2001 From: HomeWorld Date: Sat, 4 Dec 2010 20:30:36 +0200 Subject: [PATCH] Proper try/except block for service.character.charList - catch all errors --- service/character.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/service/character.py b/service/character.py index cc3c237ab..1ba310746 100644 --- a/service/character.py +++ b/service/character.py @@ -103,9 +103,9 @@ class Character(): def charList(self, charID, userID, apiKey): char = eos.db.getCharacter(charID) - char.apiID = userID - char.apiKey = apiKey try: + char.apiID = userID + char.apiKey = apiKey return char.apiCharList() except: return None