Permalink
Browse files

OS X: Add global flag for platform detection (bug 1482)

  • Loading branch information...
1 parent 0506a04 commit f236554052446c1a5ce3a784cd7baed72dae3907 @elelay elelay committed with thp Nov 10, 2011
Showing with 2 additions and 0 deletions.
  1. +2 −0 src/gpodder/__init__.py
View
2 src/gpodder/__init__.py
@@ -80,6 +80,8 @@ def __init__(self):
# Set "win32" to True if we are on Windows
win32 = (platform.system() == 'Windows')
+# Set "osx" to True if we are on Mac OS X
+osx = (platform.system() == 'Darwin')
# i18n setup (will result in "gettext" to be available)
# Use _ = gpodder.gettext in modules to enable string translations

0 comments on commit f236554

Please sign in to comment.