Skip to content

Commit

Permalink
Added a check for a Change Log
Browse files Browse the repository at this point in the history
  • Loading branch information
Podshot committed May 8, 2014
1 parent db460f5 commit f467456
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions Update Filters.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,11 @@ def perform(level, box, options):
if doRemove:
os.remove(filt)
if changeLog:
log = str(jsonRaw["ChangeLog"])
webbrowser.open_new_tab(log)
if "ChangeLog" in jsonRaw:
log = str(jsonRaw["ChangeLog"])
webbrowser.open_new_tab(log)
else:
print '%s: Filter "%s" did not have a Change Log' % (METHOD, py.displayName)
else:
print '%s: %s\'s version matched update the site\'s version' % (METHOD, py.displayName)
except:
Expand Down

0 comments on commit f467456

Please sign in to comment.