John Smith commited on 2022-127 01:00:21
Showing 1 changed files, with 1 additions and 1 deletions.
| ... | ... |
@@ -130,7 +130,7 @@ local confdir = os.getenv("HOME") .. "/.config/memoire/"
|
| 130 | 130 |
local config = { DeckFile = { "" } }
|
| 131 | 131 |
do |
| 132 | 132 |
local fh = io.open(confdir .. "config.rec") |
| 133 |
-if ft then |
|
| 133 |
+if fh then |
|
| 134 | 134 |
local ft = fh:read("a")
|
| 135 | 135 |
local ct = recrw.read(ft) |
| 136 | 136 |
if ct and ct[1] then config = ct[1] |
| 137 | 137 |