Skip to content

Commit 0f1dbc8

Browse files
committed
Remove outdated comment
1 parent 99378ec commit 0f1dbc8

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

github_webhook/webhook.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,6 @@ def init_app(self, app, endpoint="/postreceive", secret=None):
2626
self._hooks = collections.defaultdict(list)
2727
self._logger = logging.getLogger("webhook")
2828
if secret is not None:
29-
# Do not override the secret if already has been set it the
30-
# constructor
3129
self.set_secret(secret)
3230
app.add_url_rule(rule=endpoint, endpoint=endpoint, view_func=self._postreceive, methods=["POST"])
3331

0 commit comments

Comments
 (0)