1
Fork 0
mirror of https://github.com/RYGhub/royalnet.git synced 2024-11-23 19:44:20 +00:00
This commit is contained in:
Steffo 2018-07-24 19:29:34 +02:00
parent 2e62f0c70a
commit a815f26aa6

View file

@ -508,7 +508,7 @@ def cmd_newevent(bot: Bot, update: Update):
"[descrizione]```") "[descrizione]```")
return return
try: try:
name, description = name_desc.split("\n", 2) name, description = name_desc.split("\n", 1)
except IndexError: except IndexError:
name = name_desc name = name_desc
description = None description = None