Skip to content

Commit

Permalink
update logging message format
Browse files Browse the repository at this point in the history
  • Loading branch information
khanhtc1202 committed Feb 25, 2018
1 parent 96a5a50 commit 6cb90d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pacman/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ def get_feeds(rss):
return download_xml(rss).findAll('item')[:5]

def write_log(catched_site, msg):
logging.warning(msg + '</br>')
logging.warning(str(msg) + '</br>')
logging.warning('URL = ' + catched_site + '</br>')

def extract_site_by_anchor(site_url, anchor):
Expand Down

0 comments on commit 6cb90d0

Please sign in to comment.