mirror of
https://github.com/1j01/textual-paint.git
synced 2025-01-03 20:34:12 +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:
|
def _load(self) -> None:
|
||||||
"""Load the folder specified on the command line."""
|
"""Load the folder specified on the command line."""
|
||||||
if args.folder is None:
|
if args.folder is None:
|
||||||
gallery_folder = Path(os.path.dirname(__file__), "../../samples")
|
gallery_folder = Path(os.path.dirname(__file__), "../../samples").resolve()
|
||||||
else:
|
else:
|
||||||
gallery_folder = Path(args.folder)
|
gallery_folder = Path(args.folder)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user