diff --git a/pkgs/drracket-pkgs/drracket/drracket/private/get-module-path.rkt b/pkgs/drracket-pkgs/drracket/drracket/private/get-module-path.rkt index e83e832fd5..64ed10c6cc 100644 --- a/pkgs/drracket-pkgs/drracket/drracket/private/get-module-path.rkt +++ b/pkgs/drracket-pkgs/drracket/drracket/private/get-module-path.rkt @@ -136,7 +136,8 @@ (define pth (send racket-path-tf get-value)) (define bkg (cond - [(and (file-exists? pth) + [(and (path-string? pth) + (file-exists? pth) (member 'execute (file-or-directory-permissions pth))) "white"] [else "yellow"]))