properly handle save path

This commit is contained in:
Izalia Mae 2022-04-21 23:12:27 -04:00
parent a240086b0a
commit 8629a2c9b8

View file

@ -22,7 +22,12 @@ class Server(Application):
)
self.saves = []
self.save_path = save_path or get_save_path()
if save_path:
self.save_path = Path(save_path).expanduser().resolve()
else:
self.save_path = get_save_path()
## Frontend paths
self.add_view(views.Home)