Skip to content

Commit

Permalink
Merge pull request #325 from enthought/maint/tuple-fixup
Browse files Browse the repository at this point in the history
MAINT: Explicit string comparison.
  • Loading branch information
mdickinson committed Sep 1, 2016
2 parents cad2b66 + 86220f6 commit e7a83cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion traits/trait_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -465,7 +465,7 @@ def get_resource_path ( level = 2 ):
# directory as the [myapp].exe executable file generated by py2exe.
frozen = getattr(sys, 'frozen', False)
if frozen:
if frozen in ('macosx_app'):
if frozen == 'macosx_app':
root = os.environ['RESOURCEPATH']
elif frozen in ('dll', 'windows_exe', 'console_exe'):
root = os.path.dirname(sys.executable)
Expand Down

0 comments on commit e7a83cf

Please sign in to comment.