Skip to content

Commit 002f533

Browse files
committed
Fix callback function name
1 parent 698ab72 commit 002f533

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

run-hooks.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,12 @@
1818
from eve import Eve
1919

2020

21-
def codemotion(endpoint, response):
21+
def pyconby(endpoint, response):
2222
for document in response['_items']:
2323
document['PYCON BELARUS'] = 'IS SO FREAKING COOL!'
2424

2525
app = Eve()
26-
app.on_fetched_resource += codemotion
26+
app.on_fetched_resource += pyconby
2727

2828
if __name__ == '__main__':
2929
app.run()

0 commit comments

Comments
 (0)