Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

check if article is poa #416

Merged

Conversation

Jenniferstrej
Copy link
Contributor

if it’s poa end activity - no videos are added in poa’s

if it’s poa end activity - no videos are added in poa’s
@@ -46,6 +46,12 @@ def do_activity(self, data=None):
self.emit_monitor_event(self.settings, article_id, version, run, self.pretty_name, "start",
"Starting check/copy of Glencoe video still images " + article_id)
try:
file_name = session.get_value(run, 'file_name')
if "poa" in file_name:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

uhm this could be made safer, like -poa- or something similar

@giorgiosironi giorgiosironi merged commit 665c2d2 into elifesciences:develop Mar 17, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants