Split only once!

This commit is contained in:
Antoine Nguyen
2012-05-21 11:51:21 +02:00
parent b9146a8a3f
commit 07887c15ed
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -16,6 +16,6 @@ Django is needed to use Modoboa (http://www.djangoproject.com/)
The following external tools are provided with Modoboa:
* jQuery version 1.7.1 (http://www.jquery.org/)
* jQuery-UI 1.8+ (http://jqueryui.com/)
* Bootstrap, from Twitter version 2.0.2 (http://twitter.github.com/bootstrap/)
* Bootstrap, from Twitter version 2.0.3 (http://twitter.github.com/bootstrap/)
* Bootstrap datepicker (https://bitbucket.org/eternicode/bootstrap-datepicker)
+1 -1
View File
@@ -112,7 +112,7 @@ class SQLemail(Email):
self.qtype = ""
self.qreason = ""
if qreason != "":
self.qtype, self.qreason = qreason.split(',', 2)
self.qtype, self.qreason = qreason.split(',', 1)
def get_header(self, msg, name):
if msg.has_key(name):