]> git.cworth.org Git - turbot/commitdiff
Add missing include of flask.make_response
authorCarl Worth <cworth@cworth.org>
Tue, 29 Sep 2020 13:15:32 +0000 (06:15 -0700)
committerCarl Worth <cworth@cworth.org>
Tue, 29 Sep 2020 13:15:32 +0000 (06:15 -0700)
Revealing that I hadn't actually tested this error case (*blush*).

turbot.py

index 4224d429ca0ee996d8424f476cb3d3b8d248b7d6..e125e0d2efd17c837123fad381e6fa0bd0a6e5fb 100755 (executable)
--- a/turbot.py
+++ b/turbot.py
@@ -1,6 +1,6 @@
 #!/usr/bin/env python3
 
-from flask import Flask, request
+from flask import Flask, request, make_response
 
 from slackeventsapi import SlackEventAdapter
 from slack import WebClient