From 657ba47714c7c0d434a74dd599d9b090f544a73d Mon Sep 17 00:00:00 2001 From: Croneter Date: Wed, 20 Jun 2018 12:46:24 +0200 Subject: [PATCH] Switch to __future__ unicode_literals - Primarily fixes os.walk only working with string paths, not unicode --- default.py | 2 +- service.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/default.py b/default.py index 463da83b..71fc5cc7 100644 --- a/default.py +++ b/default.py @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- ############################################################################### - +from __future__ import unicode_literals # nice to fix os.walk unicode import logging from os import path as os_path from sys import path as sys_path, argv diff --git a/service.py b/service.py index b48522bf..5b62d549 100644 --- a/service.py +++ b/service.py @@ -1,5 +1,6 @@ # -*- coding: utf-8 -*- ############################################################################### +from __future__ import unicode_literals # nice to fix os.walk unicode from logging import getLogger from os import path as os_path from sys import path as sys_path, argv