Skip to content

Commit

Permalink
Added path of the paste in the log of Categ.py
Browse files Browse the repository at this point in the history
  • Loading branch information
mokaddem committed Feb 14, 2017
1 parent 909c4f9 commit d4da3a3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions bin/Categ.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,6 @@
p.populate_set_out(msg, categ)

publisher.info(
'Categ;{};{};{};Detected {} as {}'.format(
'Categ;{};{};{};Detected {} as {};{}'.format(
paste.p_source, paste.p_date, paste.p_name,
len(found), categ))
len(found), categ), paste.p_path)

This comment has been minimized.

Copy link
@jdz

jdz Feb 16, 2017

The paste.p_path is not given to .format method, but to publisher.info.

This comment has been minimized.

Copy link
@mokaddem

mokaddem Feb 28, 2017

Author Contributor

Thanks for the feedback! It has been fixed in 26eb5fd

2 changes: 1 addition & 1 deletion var/www/static/js/indexjavascript.js
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ function create_log_table(obj_json) {

source_link = document.createElement("A");
if (parsedmess[1] == "slexy.org"){
soruce_url = "http://"+parsedmess[1]+"/view/"+parsedmess[3].split(".")[0];
source_url = "http://"+parsedmess[1]+"/view/"+parsedmess[3].split(".")[0];
}
else{
source_url = "http://"+parsedmess[1]+"/"+parsedmess[3].split(".")[0];
Expand Down

0 comments on commit d4da3a3

Please sign in to comment.