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 -*- # -*- coding: utf-8 -*-
############################################################################### ###############################################################################
from __future__ import unicode_literals # nice to fix os.walk unicode
import logging import logging
from os import path as os_path from os import path as os_path
from sys import path as sys_path, argv from sys import path as sys_path, argv

View file

@ -1,5 +1,6 @@
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
############################################################################### ###############################################################################
from __future__ import unicode_literals # nice to fix os.walk unicode
from logging import getLogger from logging import getLogger
from os import path as os_path from os import path as os_path
from sys import path as sys_path, argv from sys import path as sys_path, argv