Skip to content

Commit

Permalink
Merge pull request #38 from almonteb/fix/path_tuple
Browse files Browse the repository at this point in the history
return default site-package directory as string instead of tuple
  • Loading branch information
toumorokoshi committed Oct 21, 2017
2 parents 4db11b4 + 5a0dce2 commit ab3ce94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion uranium/scripts/activate_this.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def _get_site_packages():
for p in paths_to_try:
if os.path.isdir(p):
return p
return os.path.join(base, 'lib', 'python%s' % sys.version[:3], 'site-packages'),
return os.path.join(base, 'lib', 'python%s' % sys.version[:3], 'site-packages')


old_os_path = os.environ.get('PATH', '')
Expand Down

0 comments on commit ab3ce94

Please sign in to comment.