diff --git a/silkaj/wot_tools.py b/silkaj/wot_tools.py
index a34c5509416f92fc1e69346e2a44716b5683262e..958e6d8b09ae76c86cd33c571bb6c680dbaec24f 100644
--- a/silkaj/wot_tools.py
+++ b/silkaj/wot_tools.py
@@ -13,6 +13,7 @@
 # You should have received a copy of the GNU Affero General Public License
 # along with Silkaj. If not, see <https://www.gnu.org/licenses/>.
 
+import sys
 import urllib
 
 from duniterpy.api.bma import wot