1
0
mirror of https://codeberg.org/cage/tinmop/ synced 2025-01-03 01:09:20 +01:00

- fixed crash when starting the program without a configuration file.

This commit is contained in:
cage 2021-02-20 18:28:49 +01:00
parent ceb965dc83
commit 04ca1d14c1

View File

@ -766,7 +766,8 @@ and day is current time)"
(flet ((credentials-filename ()
(handler-bind ((error
(lambda (e)
(invoke-restart 'res:return-home-filename e))))
(declare (ignore e))
(invoke-restart 'res:return-home-filename))))
(res:get-data-file +credentials-filename+))))
(let ((resource-file (credentials-filename)))
(if (not (fs:file-exists-p resource-file))