Switch to __future__ unicode_literals
- Primarily fixes os.walk only working with string paths, not unicode
This commit is contained in:
parent
9c6fa31fda
commit
657ba47714
2 changed files with 2 additions and 1 deletions
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue