Fix build notifications in Python 2.x on Linux

In Python 2.x on Linux, `sys.platform == 'linux2'`.

https://docs.python.org/2/library/sys.html#sys.platform
This commit is contained in:
Matt Brubeck 2015-09-28 09:46:36 -07:00
parent 7a3d2c8cb4
commit aa7e9ddb73

View file

@ -98,6 +98,7 @@ def notify(title, text):
platforms, this function acts as a no-op."""
platforms = {
"linux": notify_linux,
"linux2": notify_linux,
"win": notify_win,
"darwin": notify_darwin
}