avoid path->string on #f
svn: r3062
This commit is contained in:
parent
b690f6cea1
commit
6f6516e9db
|
@ -561,7 +561,7 @@
|
|||
(maybe-save)
|
||||
(let ([f (if (not (null? file))
|
||||
(car file)
|
||||
(path->string (get-file "Open" gcalc-frame)))])
|
||||
(cond [(get-file "Open" gcalc-frame) => path->string] [else #f]))])
|
||||
(when f
|
||||
(if (file-exists? f)
|
||||
(with-input-from-file f
|
||||
|
|
Loading…
Reference in New Issue
Block a user