summaryrefslogtreecommitdiffstats
path: root/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to '__init__.py')
-rwxr-xr-x__init__.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/__init__.py b/__init__.py
index 3b1c556..5699583 100755
--- a/__init__.py
+++ b/__init__.py
@@ -36,7 +36,10 @@ def run_phenny(config):
p = bot.Phenny(config)
p.run(config.host, config.port)
- Watcher()
+ try: Watcher()
+ except Exception, e:
+ print >> sys.stderr, 'Warning:', e, '(in __init__.py)'
+
while True:
try: connect(config)
except KeyboardInterrupt: