Skip to content

Commit

Permalink
fix EvD auto GT following the evolution of the T0 API
Browse files Browse the repository at this point in the history
  • Loading branch information
deguio committed Apr 12, 2016
1 parent f1a09fc commit 567df88
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -202,8 +202,8 @@ def expressGlobalTag(self):
gt = "UNKNOWN"
json = self.getData(url)
results = self.getResultList(json)
config = ast.literal_eval(results[0])[0]
gt = config['global_tag']
config = results[0]
gt = str(config['global_tag'])
# FIXME: do we realluy need to raise?
if gt == "UNKNOWN":
raise KeyError
Expand Down

0 comments on commit 567df88

Please sign in to comment.