Skip to content

Commit

Permalink
update logs again
Browse files Browse the repository at this point in the history
  • Loading branch information
Androz2091 committed Mar 15, 2024
1 parent a26955b commit b45854b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -428,7 +428,9 @@ def read_analytics_file(package_status_id, package_id, link, session):
print(map(lambda message: message['Content'], messages))
print(count_dates_hours(map(lambda message: message['Timestamp'], messages)))
print(count_sentiments(map(lambda message: message['Content'], messages)))
print("sentiment ok")
print(list(filter(lambda message: 'Content' in message, messages))[:10])
print("parsed successfully")
except Exception as e:
print(e)
print(f'Channel {channel_id} parsed')
Expand Down

0 comments on commit b45854b

Please sign in to comment.