Commit d850ad9e authored by Saul Ibarra's avatar Saul Ibarra

Fixed creating offset-naive datetime for epoch

parent 9c840d9b
...@@ -15,6 +15,7 @@ from PyQt4.QtCore import Qt, QTimer ...@@ -15,6 +15,7 @@ from PyQt4.QtCore import Qt, QTimer
from application.notification import IObserver, NotificationCenter, NotificationData from application.notification import IObserver, NotificationCenter, NotificationData
from application.python import Null, limit from application.python import Null, limit
from datetime import datetime from datetime import datetime
from dateutil.tz import tzutc
from eventlib.green import urllib2 from eventlib.green import urllib2
from itertools import chain from itertools import chain
from twisted.internet import reactor from twisted.internet import reactor
...@@ -35,7 +36,7 @@ from blink.resources import IconManager, Resources ...@@ -35,7 +36,7 @@ from blink.resources import IconManager, Resources
from blink.util import run_in_gui_thread from blink.util import run_in_gui_thread
epoch = datetime.fromtimestamp(0) epoch = datetime.fromtimestamp(0, tzutc())
sip_prefix_re = re.compile("^sips?:") sip_prefix_re = re.compile("^sips?:")
unknown_icon = "blink://unknown" unknown_icon = "blink://unknown"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment