Switch to __future__ unicode_literals

- Primarily fixes os.walk only working with string paths, not unicode
This commit is contained in:
Croneter 2018-06-20 12:46:24 +02:00
parent 9c6fa31fda
commit 657ba47714
2 changed files with 2 additions and 1 deletions

View File

@ -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

View File

@ -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