SciPost Code Repository

Skip to content
Snippets Groups Projects
Commit 0aced49b authored by Jean-Sébastien Caux's avatar Jean-Sébastien Caux
Browse files

Remove conditional used for testing

parent 6a500548
No related branches found
No related tags found
No related merge requests found
......@@ -16,7 +16,7 @@ class Command(BaseCommand):
for sub in Submission.objects.all():
# Check that the author list is properly formatted
try:
if True or 'entries' in sub.metadata:
if 'entries' in sub.metadata:
author_str_list = [
a['name'].split()[-1] for a in sub.metadata['entries'][0]['authors']]
except:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment