| Index: client/tools/swarming_count_tasks.py
|
| diff --git a/client/tools/swarming_count_tasks.py b/client/tools/swarming_count_tasks.py
|
| index ed85e26012360286ece7f876ee35cc24fdfc879c..2d2e3dc8e2909e43d4e8e0314758d6fe187889c6 100755
|
| --- a/client/tools/swarming_count_tasks.py
|
| +++ b/client/tools/swarming_count_tasks.py
|
| @@ -22,7 +22,8 @@ import sys
|
| import urllib
|
|
|
|
|
| -CLIENT_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
|
| +CLIENT_DIR = os.path.dirname(os.path.dirname(os.path.abspath(
|
| + __file__.decode(sys.getfilesystemencoding()))))
|
| sys.path.insert(0, CLIENT_DIR)
|
|
|
|
|
|
|