From 8f73f21e0c8f815fb3e8b84eb7e6012153aa9f3c Mon Sep 17 00:00:00 2001 From: Andrea Borruso Date: Fri, 30 Nov 2018 13:20:31 +0100 Subject: [PATCH] I have added sys import I do not know if it's right, but in the script there is `exit` and then it could be better to add sys module. I have discovered it, creating the cli app via pyinstaller: without sys module the cli building does not work --- tools/scrape | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/scrape b/tools/scrape index dbb9cc02..a5375701 100755 --- a/tools/scrape +++ b/tools/scrape @@ -13,6 +13,7 @@ import sys import argparse from lxml import etree +from sys import exit def main():