path: root/src
diff options
authorJohn MacFarlane <>2017-12-28 12:06:38 -0800
committerJohn MacFarlane <>2017-12-28 12:06:38 -0800
commit3494b6efd32bebb36e3bef204be6d51650ac6085 (patch)
treeb8f054d40d210ab2d03fafa31f6c52700b67f2fc /src
parentd5770b74969ac60836e40ca6a95a38ac0bf3c3bf (diff)
Powerpoint writer tests: use IO.
Otherwise we can't find the data files when compiled with -embed_data_files.
Diffstat (limited to 'src')
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Text/Pandoc/Class.hs b/src/Text/Pandoc/Class.hs
index d0e33268f..f93ddc7d1 100644
--- a/src/Text/Pandoc/Class.hs
+++ b/src/Text/Pandoc/Class.hs
@@ -145,6 +145,8 @@ import System.Directory (createDirectoryIfMissing, getDirectoryContents,
import System.FilePath ((</>), (<.>), takeDirectory,
takeExtension, dropExtension, isRelative, normalise)
import qualified System.FilePath.Glob as IO (glob)
+import qualified System.FilePath.Posix as Posix
+import System.FilePath (splitDirectories)
import qualified System.Directory as IO (getModificationTime)
import Control.Monad as M (fail)
import Control.Monad.State.Strict
@@ -161,8 +163,6 @@ import Text.Pandoc.Translations (Term(..), Translations, lookupTerm,
import qualified Debug.Trace
import Text.Pandoc.Data (dataFiles)
-import qualified System.FilePath.Posix as Posix
-import System.FilePath (splitDirectories)
import qualified Paths_pandoc as Paths