diff --git a/trustgraph-cli/scripts/tg-save-kg-core b/trustgraph-cli/scripts/tg-save-kg-core index f2509dba..e52cd7dc 100755 --- a/trustgraph-cli/scripts/tg-save-kg-core +++ b/trustgraph-cli/scripts/tg-save-kg-core @@ -133,7 +133,9 @@ async def output(running, queue, path, format): try: msg = await asyncio.wait_for(queue.get(), 0.5) - except TimeoutError: + except: + # Hopefully it's TimeoutError. Annoying to match since + # it changed in 3.11. continue if format == "msgpack":