aboutsummaryrefslogtreecommitdiffstats
path: root/local/handler
diff options
context:
space:
mode:
authorkongr45gpen <electrovesta@gmail.com>2016-02-07 14:55:01 +0200
committerkongr45gpen <electrovesta@gmail.com>2016-02-07 14:55:01 +0200
commit8f12dc15155e6de248a0ab73058f64e3f8f6a1e6 (patch)
tree2318f2624d11ae0823ec7d3f6dff54267558534e /local/handler
parent1ce4ba221a305d5f8ebe3dc75c60f2ad5e895202 (diff)
downloadsupybot_github-8f12dc15155e6de248a0ab73058f64e3f8f6a1e6.tar.gz
supybot_github-8f12dc15155e6de248a0ab73058f64e3f8f6a1e6.tar.bz2
supybot_github-8f12dc15155e6de248a0ab73058f64e3f8f6a1e6.zip
Add compact theme for travis builds
Diffstat (limited to 'local/handler')
-rw-r--r--local/handler/GithubHandler.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/local/handler/GithubHandler.py b/local/handler/GithubHandler.py
index 635076c..4d420e3 100644
--- a/local/handler/GithubHandler.py
+++ b/local/handler/GithubHandler.py
@@ -55,8 +55,8 @@ class GithubHandler(BaseHTTPServer.BaseHTTPRequestHandler):
eventType = ''
if not world.testing:
- if not os.path.exists('requests/'):
- os.makedirs('requests')
+ if not os.path.exists('requests/'):
+ os.makedirs('requests')
f = open('requests/' + eventType + strftime("%Y-%m-%d %H:%M:%S") + '.json', 'w')
f.write(json.dumps(data, sort_keys=True, indent=4, separators=(',', ': ')))

© 2014-2024 Faster IT GmbH | imprint | privacy policy