summaryrefslogtreecommitdiffstats
path: root/remoting/tools/gettoken.py
diff options
context:
space:
mode:
authorgarykac@google.com <garykac@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2010-06-25 01:19:50 +0000
committergarykac@google.com <garykac@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2010-06-25 01:19:50 +0000
commit65b6c1aa0dca8cace4a81b1c5eb787a7e937ff0f (patch)
tree529226c8dae316507d82f3e390455668e719750b /remoting/tools/gettoken.py
parent4308801ad9a5d7bad08786754bdec70fae6fd6c9 (diff)
downloadchromium_src-65b6c1aa0dca8cace4a81b1c5eb787a7e937ff0f.zip
chromium_src-65b6c1aa0dca8cace4a81b1c5eb787a7e937ff0f.tar.gz
chromium_src-65b6c1aa0dca8cace4a81b1c5eb787a7e937ff0f.tar.bz2
Fix host auth scripts to work with Windows.
Fix simple_host to work when \Users\<username> is on a different drive than the chrome repository. BUG=none TEST=run scripts & host process on Windows Review URL: http://codereview.chromium.org/2822029 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50802 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting/tools/gettoken.py')
-rwxr-xr-xremoting/tools/gettoken.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/remoting/tools/gettoken.py b/remoting/tools/gettoken.py
index a4024d7..d066bb8 100755
--- a/remoting/tools/gettoken.py
+++ b/remoting/tools/gettoken.py
@@ -13,7 +13,7 @@ import urllib
import gaia_auth
-auth_filepath = os.path.join(os.getenv('HOME'), '.chromotingAuthToken')
+auth_filepath = os.path.join(os.path.expanduser('~'), '.chromotingAuthToken')
print "Email:",
email = raw_input()