diff --git a/README.md b/README.md index e8345ad..f52f204 100644 --- a/README.md +++ b/README.md @@ -266,6 +266,10 @@ $ logica mentions.l run Mentions Note that cities of Los Angeles and Las Vegas are mentioned in this table due to known missclasification issue in the GDELT data analysis. --> + +## Citations +For citations, see our list of [Logica publications](https://logica-web.github.io/publications/). + ## Feedback Feel free to create [github issues](https://github.com/EvgSkv/logica/issues) diff --git a/logica.py b/logica.py index 804ffbb..6290d75 100755 --- a/logica.py +++ b/logica.py @@ -346,7 +346,10 @@ def main(argv): o, _ = p.communicate(formatted_sql.encode()) else: assert False, 'Unknown engine: %s' % engine - print(o.decode()) + try: + print(o.decode()) + except BrokenPipeError: + pass def run_main():