mirror of
https://github.com/zebrajr/tensorflow.git
synced 2025-12-06 12:20:11 +01:00
Merge pull request #56360 from njzjz:patch-1
PiperOrigin-RevId: 498391863
This commit is contained in:
commit
8d63ee9fae
|
|
@ -619,7 +619,7 @@ def prompt_loop_or_load_from_env(environ_cp,
|
|||
'Assuming to be a scripting mistake.' %
|
||||
(var_name, n_ask_attempts))
|
||||
|
||||
if resolve_symlinks and os.path.islink(val):
|
||||
if resolve_symlinks:
|
||||
val = os.path.realpath(val)
|
||||
environ_cp[var_name] = val
|
||||
return val
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user