AB test (Issue 3712) alters the string for media edge, this resolves it
(media)
| 538 | |
| 539 | |
| 540 | def get_media_edge_comment_string(media): |
| 541 | """AB test (Issue 3712) alters the string for media edge, this resolves it""" |
| 542 | options = ["edge_media_to_comment", "edge_media_preview_comment"] |
| 543 | for option in options: |
| 544 | try: |
| 545 | media[option] |
| 546 | except KeyError: |
| 547 | continue |
| 548 | return option |
| 549 | |
| 550 | |
| 551 | def check_link( |