Skip to content

Commit

Permalink
Merge pull request #102 from helenst/sys-platform-linux-check
Browse files Browse the repository at this point in the history
Linux platform check made compatible with python 3.3+ (Fixes #58)
  • Loading branch information
tito committed Dec 30, 2014
2 parents 95ca343 + f268455 commit f41187c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plyer/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def _determine_platform():
return 'win'
elif _sys_platform in ('darwin', ):
return 'macosx'
elif _sys_platform in ('linux2', 'linux3'):
elif _sys_platform.startswith('linux'):
return 'linux'
return 'unknown'

Expand Down

0 comments on commit f41187c

Please sign in to comment.