diff options
| author | 2019-02-11 11:43:14 +0000 | |
|---|---|---|
| committer | 2019-02-11 11:43:14 +0000 | |
| commit | d8244ccae3e24a200f68c8988d81e20c5090f28d (patch) | |
| tree | 504548b6d66b1c5ea0180288bb66f708f0751ae0 /start.py | |
| parent | Show file add/remove/change *after* saying it's a push (github) (diff) | |
| signature | ||
Add `faulthandler` (and `faulthandler.enable()`) to start.py
Diffstat (limited to 'start.py')
| -rwxr-xr-x | start.py | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -1,9 +1,11 @@ #!/usr/bin/env python3 -import argparse, os, sys, time +import argparse, faulthandler, os, sys, time from src import Cache, Config, Database, EventManager, Exports, IRCBot from src import Logging, ModuleManager, Timers, utils +faulthandler.enable() + directory = os.path.dirname(os.path.realpath(__file__)) arg_parser = argparse.ArgumentParser( |
