From 9bb48c1155eeea8470d241f7ba7e75d1dc757fbc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20Vinot?= Date: Fri, 18 Jan 2019 13:53:56 +0100 Subject: [PATCH] fix: Digest message was broken. --- Pipfile | 2 +- Pipfile.lock | 8 ++++---- urlabuse/urlabuse.py | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Pipfile b/Pipfile index e5b4159..3cf65b5 100644 --- a/Pipfile +++ b/Pipfile @@ -19,7 +19,7 @@ flask-bootstrap = "*" flask-mail = "*" flask-wtf = "*" gunicorn = {extras = ["gevent"],version = "*"} -pyurlabuse = {editable = true,path = "."} +pyurlabuse = {editable = true,path = "./client"} pyfaup = {git = "https://github.com/stricaud/faup.git/",subdirectory = "src/lib/bindings/python/"} [requires] diff --git a/Pipfile.lock b/Pipfile.lock index cbc9820..a829b14 100644 --- a/Pipfile.lock +++ b/Pipfile.lock @@ -1,7 +1,7 @@ { "_meta": { "hash": { - "sha256": "4e0f863e88d1c7416abfa49ec8f74d6c51c2d605ca4a504ab7c87af0954c3d10" + "sha256": "a961b1d43bfe9f922623a78fc5f54f3b76247459f548fc18c651ad57e972e872" }, "pipfile-spec": 6, "requires": { @@ -217,7 +217,7 @@ }, "pybgpranking": { "git": "https://github.com/D4-project/BGP-Ranking.git/", - "ref": "5e4264a411b59f6a612c4bfdde307b1d8a61ead8", + "ref": "2f7c28631262adcd16f90d88a87b59e63e5e0f36", "subdirectory": "client" }, "pyeupi": { @@ -234,7 +234,7 @@ }, "pyipasnhistory": { "git": "https://github.com/D4-project/IPASN-History.git/", - "ref": "54857344c412a903df2abe67a8855f2fcaeef4a8", + "ref": "d8d94e1e171e42ab075d8b97a3fd4451bd6f7445", "subdirectory": "client" }, "pypdns": { @@ -260,7 +260,7 @@ }, "pyurlabuse": { "editable": true, - "path": "." + "path": "./client" }, "redis": { "hashes": [ diff --git a/urlabuse/urlabuse.py b/urlabuse/urlabuse.py index 1e7cebe..98d0b2a 100644 --- a/urlabuse/urlabuse.py +++ b/urlabuse/urlabuse.py @@ -542,7 +542,7 @@ class Query(): to_return += '\t{} out of {} positive detections in VT - {}\n'.format( info['vt'][2], info['vt'][3], info['vt'][1]) else: - to_return = '\t{} - {}\n'.format(info['vt'][0], info['vt'][1]) + to_return += '\t{} - {}\n'.format(info['vt'][0], info['vt'][1]) if 'gsb' in info: to_return += '\tKnown as malicious on Google Safe Browsing: {}\n'.format(info['gsb']) if 'phishtank' in info: