Skip to content

Commit

Permalink
Include review comments
Browse files Browse the repository at this point in the history
Co-authored-by: Clément Robert <cr52@protonmail.com>
  • Loading branch information
cphyc and neutrinoceros committed Jan 5, 2021
1 parent 2e2bde5 commit 1ba0398
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions yt/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -141,10 +141,8 @@ def remove(self, *args):
self.config_root.pop_leaf(args)

def read(self, file_names):
file_names = always_iterable(file_names)

file_names_read = []
for fname in file_names:
for fname in always_iterable(file_names):
if not os.path.exists(fname):
continue
metadata = {"source": f"file: {fname}"}
Expand Down

0 comments on commit 1ba0398

Please sign in to comment.