mirror of https://codeberg.org/cage/tinmop/
- fixed rule's name, this bug leads to a crash when extracting metadata from a gempub file.
This commit is contained in:
parent
a300c35c8c
commit
457b1bef9c
|
@ -77,7 +77,7 @@
|
||||||
(when (find +metadata-entry-name entries :test #'String=)
|
(when (find +metadata-entry-name entries :test #'String=)
|
||||||
(when-let ((metadata-raw (os-utils:unzip-single-file zip-file
|
(when-let ((metadata-raw (os-utils:unzip-single-file zip-file
|
||||||
+metadata-entry-name)))
|
+metadata-entry-name)))
|
||||||
(parse 'metadata metadata-raw))))))
|
(parse 'gempub-metadata metadata-raw))))))
|
||||||
|
|
||||||
(defun save-metadata (zip-file)
|
(defun save-metadata (zip-file)
|
||||||
(when-let ((metadata (extract-metadata zip-file)))
|
(when-let ((metadata (extract-metadata zip-file)))
|
||||||
|
|
Loading…
Reference in New Issue