]> git.parisson.com Git - tools.git/commitdiff
cleanup
authoryomguy <yomguy@457c0346-1240-4656-8a5a-9edca8063506>
Thu, 14 Jan 2010 14:44:56 +0000 (14:44 +0000)
committeryomguy <yomguy@457c0346-1240-4656-8a5a-9edca8063506>
Thu, 14 Jan 2010 14:44:56 +0000 (14:44 +0000)
git-svn-id: http://svn.parisson.org/svn/tools/trunk@74 457c0346-1240-4656-8a5a-9edca8063506

various/mail_logger.py

index 3965a990751ee69ca96910228e1fff70d8db2d2e..04c728539a5922c7b42235fcb0f00504ccaf5e42 100755 (executable)
@@ -34,7 +34,7 @@ class ParissonMailLogger:
         self.user = 'logger'
         self.user_email = self.user + '@' + self.server
         self.smtp_server = smtplib.SMTP('localhost')
-        self.date = time.strftime("%a, %d %b %Y %H:%M:%S +0200", time.localtime())
+        self.date = time.strftime("%a, %d %b %Y %H:%M:%S", time.localtime())
         self.msg = self.date + ' : ' + self.service + ' has logged this information'
         self.mime_msg = MIMEMultipart()
         self.mime_msg['Subject'] = 'URGENT ! ' + self.server + ' : ' + self.service