diff --git a/screenless/bureau/publicrelations/publicrelations.py b/screenless/bureau/publicrelations/publicrelations.py index be172e3..62120a6 100644 --- a/screenless/bureau/publicrelations/publicrelations.py +++ b/screenless/bureau/publicrelations/publicrelations.py @@ -194,7 +194,7 @@ class PublicRelations(Bureau): prn._raw(t_enc) if "media" in tweet["entities"]: - for entity in tweet["entities"]["media"] + for entity in tweet["entities"]["media"]: i_url = entity["media_url"] filename = i_url.rsplit('/',1)[1] filename = "/tmp/" + filename