Просмотр исходного кода

content -> message, oops

tags/v0.1^2
Ben Kurtovic 15 лет назад
Родитель
Сommit
e5ba64bef8
1 измененных файлов: 2 добавлений и 2 удалений
  1. +2
    -2
      irc/commands/remind.py

+ 2
- 2
irc/commands/remind.py Просмотреть файл

@@ -31,8 +31,8 @@ class Remind(BaseCommand):
except ValueError: except ValueError:
self.connection.reply(data, "the time must be given as an integer, in seconds.") self.connection.reply(data, "the time must be given as an integer, in seconds.")
return return
content = ' '.join(data.args[1:])
if not content:
message = ' '.join(data.args[1:])
if not message:
self.connection.reply(data, "what message do you want me to give you when time is up?") self.connection.reply(data, "what message do you want me to give you when time is up?")
return return




Загрузка…
Отмена
Сохранить