From af96f65f70701c525f6f1cfeb3f862916d99d084 Mon Sep 17 00:00:00 2001
From: Michael DM Dryden <mdryden@chem.utoronto.ca>
Date: Tue, 16 May 2017 20:30:52 -0400
Subject: [PATCH] Save: Fix unicode issue.

---
 dstat_interface/main.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dstat_interface/main.py b/dstat_interface/main.py
index 59b0373..32c58f0 100755
--- a/dstat_interface/main.py
+++ b/dstat_interface/main.py
@@ -653,12 +653,12 @@ class Main(object):
             # Autosaving
             if self.autosave_checkbox.get_active():
                 save.autoSave(self.current_exp,
-                              self.autosavedir_button.get_filename(),
+                              self.autosavedir_button.get_filename().decode('utf-8'),
                               self.autosavename.get_text()
                               )
 
                 save.autoPlot(self.current_exp,
-                              self.autosavedir_button.get_filename(),
+                              self.autosavedir_button.get_filename().decode('utf-8'),
                               self.autosavename.get_text()
                               )
         
-- 
GitLab