Show directory better in case of error

This commit is contained in:
Isaiah Odhner 2023-09-06 02:55:58 -04:00
parent ce3def0ec5
commit bf8b60f5e0

View File

@ -91,7 +91,7 @@ class GalleryApp(App[None]):
def _load(self) -> None:
"""Load the folder specified on the command line."""
if args.folder is None:
gallery_folder = Path(os.path.dirname(__file__), "../../samples")
gallery_folder = Path(os.path.dirname(__file__), "../../samples").resolve()
else:
gallery_folder = Path(args.folder)