mirror of
https://github.com/1j01/textual-paint.git
synced 2024-12-22 14:21:33 +03:00
Show directory better in case of error
This commit is contained in:
parent
ce3def0ec5
commit
bf8b60f5e0
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user