Skip to content

Commit

Permalink
Convert key to list
Browse files Browse the repository at this point in the history
  • Loading branch information
chihuahua committed Apr 4, 2018
1 parent a1d6285 commit 9e92cbf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tensorboard/backend/event_processing/io_wrapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ def ListRecursivelyViaGlobbing(top):
# directory, replace the current globbing path with that directory as the
# literal prefix. This should improve efficiency in cases where a single
# subdir is significantly deeper than the rest of the sudirs.
current_glob_string = os.path.join(pairs.keys()[0], '*')
current_glob_string = os.path.join(list(pairs.keys())[0], '*')

# Iterate to the next level of subdirectories.
current_glob_string = os.path.join(current_glob_string, '*')
Expand Down

0 comments on commit 9e92cbf

Please sign in to comment.