Romern / syncMyMoodle

Synchronization client for RWTH Moodle
GNU General Public License v3.0
72 stars 18 forks source link

adding try catch for opencast embed check #4

Closed julkah closed 4 years ago

julkah commented 4 years ago

The check if the key "data-framesrc" is in the iframe didn't work as expected. Thus this commit uses a try-catch-block which tries to get the item with the key "data-framesrc" but catches the KeyError which occurs if the iframe is no opencast embed.