HPI/reddit/__main__.py
Dima Gerasimov a4693b9b44 initial
2018-09-04 19:32:13 +04:00

6 lines
233 B
Python

from reddit import get_events
import sys, ipdb, traceback; exec("def info(type, value, tb):\n traceback.print_exception(type, value, tb)\n ipdb.pm()"); sys.excepthook = info # type: ignore
for e in get_events():
print(e)