Added path of the paste in the log of Categ.py

This commit is contained in:
Mokaddem 2017-02-14 10:59:47 +01:00
parent 909c4f9472
commit d4da3a316f
2 changed files with 3 additions and 3 deletions

View file

@ -96,6 +96,6 @@ if __name__ == "__main__":
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)

View file

@ -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];