From a70ddb7f986e3dad63c3c935d178c1cac8847f01 Mon Sep 17 00:00:00 2001
From: Tim Laibacher <tim.laibacher@idiap.ch>
Date: Wed, 14 Aug 2019 16:44:30 +0200
Subject: [PATCH] Fix rsttable

---
 bob/ip/binseg/script/binseg.py  | 3 ++-
 bob/ip/binseg/utils/rsttable.py | 1 +
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/bob/ip/binseg/script/binseg.py b/bob/ip/binseg/script/binseg.py
index 732889e0..3e4e5681 100644
--- a/bob/ip/binseg/script/binseg.py
+++ b/bob/ip/binseg/script/binseg.py
@@ -543,4 +543,5 @@ def evalpred(
         )
     
     # Run eval
-    do_eval(prediction_folder, data_loader, output_folder = output_path, title= title, legend=legend)
\ No newline at end of file
+    do_eval(prediction_folder, data_loader, output_folder = output_path, title= title, legend=legend)
+    
\ No newline at end of file
diff --git a/bob/ip/binseg/utils/rsttable.py b/bob/ip/binseg/utils/rsttable.py
index bab97608..fdc17982 100644
--- a/bob/ip/binseg/utils/rsttable.py
+++ b/bob/ip/binseg/utils/rsttable.py
@@ -1,6 +1,7 @@
 import pandas as pd
 from tabulate import tabulate
 import os
+from pathlib import Path
 
 def get_paths(output_path, filename):
     """
-- 
GitLab