diff Import.lua @ 141:cc82eeeec1c8 v66

Fixed bug with multiple set import.
author yellowfive
date Tue, 06 Nov 2018 15:39:13 -0800
parents c229c759a125
children 35612aee8e15
line wrap: on
line diff
--- a/Import.lua	Mon Nov 05 16:06:14 2018 -0800
+++ b/Import.lua	Tue Nov 06 15:39:13 2018 -0800
@@ -143,11 +143,13 @@
             end
         end
 
-		for i = 1, #specParts do
-			local err = self:ImportCharacter(specParts[i], isTest, true)
-			if err ~= nil then
-				return err
-			end
+        for i = 1, #specParts do
+            if specParts[i] ~= "_bib_" then
+                local err = self:ImportCharacter(specParts[i], isTest, true)
+                if err ~= nil then
+                    return err
+                end
+            end
         end
         
         -- ensure that all BiB setups are sorted to the top