Fix stupid copy/paste error
This commit is contained in:
parent
b3b9b26549
commit
a7a70d048a
1 changed files with 1 additions and 1 deletions
|
@ -61,7 +61,7 @@ def getMessages(db=dbtools.dbHelper(), two=twitools.twObject()):
|
||||||
if 'media' in m.entities:
|
if 'media' in m.entities:
|
||||||
mid = 0
|
mid = 0
|
||||||
for med in m.entities['media']:
|
for med in m.entities['media']:
|
||||||
downloadMedia(med['media_url'], status.id, mid)
|
downloadMedia(med['media_url'], m.id, mid)
|
||||||
mid += 1
|
mid += 1
|
||||||
|
|
||||||
db.commit()
|
db.commit()
|
||||||
|
|
Loading…
Reference in a new issue