Commit 81592980 authored by Brandon Piotrzkowski's avatar Brandon Piotrzkowski

Fix lint error

parent ed9426d8
......@@ -85,9 +85,9 @@ def main_dict(gracedb_id, client):
p_astrofiles = []
for file in superevent_files:
if em_brightfilename in file and not '.png' in file:
if em_brightfilename in file and '.png' not in file:
em_brightfiles.append(file)
elif p_astrofilename in file and not '.png' in file:
elif p_astrofilename in file and '.png' not in file:
p_astrofiles.append(file)
if em_brightfiles:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment