small fix to the llff dataloader (#1281)

Summary:
simply fixing a typo in _ls function

Pull Request resolved: https://github.com/facebookresearch/pytorch3d/pull/1281

Reviewed By: patricklabatut

Differential Revision: D38457259

Pulled By: bottler

fbshipit-source-id: 5204a57cb4d1fe1c804d8af3301b8ea2945443e8
This commit is contained in:
Sergey Prokudin 2022-08-05 11:22:34 -07:00 committed by Facebook GitHub Bot
parent da9584357e
commit bd93e9ce21

View File

@ -294,7 +294,7 @@ def _local_path(path_manager, path):
def _ls(path_manager, path):
if path_manager is None:
return os.path.listdir(path)
return os.listdir(path)
return path_manager.ls(path)