Commit 719294e6e2b2fd557527c2391c1901eaa3434b65

Authored by Noah ago
1 parent 5616b18a95
Exists in master

디버그 해제 코드정리

Showing 1 changed file with 5 additions and 1 deletions Side-by-side Diff

... ... @@ -29,8 +29,12 @@
29 29 p_id = str(content['id'].split('_')[0])
30 30 c_id = str(content['id'].split('_')[1])
31 31 created_time = content['created_time'].replace('T'," ").replace('+0000',"")
32   - message = content['message'].replace('\n',"").replace('\r',"").replace('\'',"")
33 32  
  33 + try:
  34 + message = content['message'].replace('\n',"").replace('\r',"").replace('\'',"")
  35 + except:
  36 + message = ""
  37 +
34 38 insight = Insight(token)
35 39 insight.setContentInsight(content['id'])
36 40 lists =["post_story_adds_unique",