Skip to content

Commit a88c8cb

Browse files
authored
Merge pull request #200 from didi/solver_utils_fix
fix solver utils bugs
2 parents 41420fa + 214a65a commit a88c8cb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

delta/utils/solver/utils/solver_utils.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ def get_most_recently_modified_file_matching_pattern(dir_name,
166166

167167
tf_checkpoint_file = tf.train.latest_checkpoint(dir_name)
168168
if tf_checkpoint_file is not None and re.match(file_name_regex,
169-
tf_checkpoint_file.name):
169+
tf_checkpoint_file):
170170
return tf_checkpoint_file
171171

172172
file_list = [

0 commit comments

Comments
 (0)