Przeglądaj źródła

fix: max chars arg missing

master
Rohan Verma 6 lat temu
rodzic
commit
f731da54c0
1 zmienionych plików z 1 dodań i 1 usunięć
  1. +1
    -1
      main.py

+ 1
- 1
main.py Wyświetl plik

@@ -27,7 +27,7 @@ def index():
text = 'Thanks for adding me to "%s"!' % event['space']['displayName']
return json.jsonify({'text': text})
elif event['type'] == 'MESSAGE':
text = text_model.make_short_sentence()
text = text_model.make_short_sentence(280)
return json.jsonify({
'cards': [{
'sections': [{

Ładowanie…
Anuluj
Zapisz