summaryrefslogtreecommitdiffstats
path: root/askbot/management/commands/send_unanswered_question_reminders.py
diff options
context:
space:
mode:
Diffstat (limited to 'askbot/management/commands/send_unanswered_question_reminders.py')
-rw-r--r--askbot/management/commands/send_unanswered_question_reminders.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/askbot/management/commands/send_unanswered_question_reminders.py b/askbot/management/commands/send_unanswered_question_reminders.py
index 982dbafb..42ce5119 100644
--- a/askbot/management/commands/send_unanswered_question_reminders.py
+++ b/askbot/management/commands/send_unanswered_question_reminders.py
@@ -7,6 +7,7 @@ from django.utils.translation import ungettext
from askbot import mail
from askbot.utils.classes import ReminderSchedule
from askbot.models.question import Thread
+from askbot.utils.html import site_url
from django.template import Context
DEBUG_THIS_COMMAND = False
@@ -72,7 +73,7 @@ class Command(NoArgsCommand):
}
data = {
- 'site_url': askbot_settings.APP_URL,
+ 'site_url': site_url(''),
'questions': final_question_list,
'subject_line': subject_line
}