nit: Always set a state

This commit is contained in:
TJ DeVries
2020-09-11 15:38:27 -04:00
parent 8beb8c876b
commit c73eb1c0d8

View File

@@ -40,6 +40,8 @@ function Previewer:preview(entry, status)
if not self.state then
if self._setup_func then
self.state = self._setup_func()
else
self.state = {}
end
end