fix: [urlexport importer] item_id, force str type

pull/497/head
Terrtia 2020-05-02 20:33:25 +02:00
parent ecc042376d
commit b4cb14798c
No known key found for this signature in database
GPG Key ID: 1E1B1F50D84613D0
1 changed files with 1 additions and 1 deletions

View File

@ -48,7 +48,7 @@ class Ail_feeder_urlextract(Default_json):
# # TODO: change me
parent_type = 'twitter'
item_parent = json_meta['parent:twitter:tweet_id']
item_parent = str(json_meta['parent:twitter:tweet_id'])
parent_date = datetime.date.today().strftime("%Y/%m/%d")
item_parent = os.path.join('twitter', parent_date, item_parent) + '.gz'