Merge branch 'fix-linkPaste-debug' into production

This commit is contained in:
Mokaddem 2017-02-14 11:12:22 +01:00
commit 135a1457e0
2 changed files with 3 additions and 3 deletions

View file

@ -96,6 +96,6 @@ if __name__ == "__main__":
p.populate_set_out(msg, categ) p.populate_set_out(msg, categ)
publisher.info( publisher.info(
'Categ;{};{};{};Detected {} as {}'.format( 'Categ;{};{};{};Detected {} as {};{}'.format(
paste.p_source, paste.p_date, paste.p_name, 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"); source_link = document.createElement("A");
if (parsedmess[1] == "slexy.org"){ 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{ else{
source_url = "http://"+parsedmess[1]+"/"+parsedmess[3].split(".")[0]; source_url = "http://"+parsedmess[1]+"/"+parsedmess[3].split(".")[0];