properly handle save path
This commit is contained in:
parent
a240086b0a
commit
8629a2c9b8
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue