diff --git a/tsearchpath.py b/tsearchpath.py index c6ae3e2..93535c4 100755 --- a/tsearchpath.py +++ b/tsearchpath.py @@ -5,7 +5,7 @@ # Program Information -RCSID = "$Id: tsearchpath.py,v 1.107 2010/06/25 14:07:14 tundra Exp $" +RCSID = "$Id: tsearchpath.py,v 1.108 2010/06/25 15:08:23 tundra Exp $" #----------------------------------------------------------# @@ -89,7 +89,7 @@ for path in paths: - if path[-1] != PATHSEP: + if path and path[-1] != PATHSEP: path += PATHSEP path += filename