Commit be0b306e authored by fred's avatar fred

encode local paths as utf-8

parent 1a596233
......@@ -125,7 +125,7 @@ class NonstopFile(models.Model):
self.filename = os.path.basename(filepath)
def get_local_filepath(self):
return os.path.join(LOCAL_BASE_PATH, self.short)
return os.path.join(LOCAL_BASE_PATH, self.short).encode('utf-8')
class SomaLogLine(models.Model):
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment