Skip to content

Commit

Permalink
reverting back setdefaultencoding change that is not python 3 compatible
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewning committed Dec 23, 2020
1 parent 2c2cde0 commit 9037913
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/sortphotos.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,6 @@
import re
import locale

# fixing / workarounding issue #120
reload(sys)
sys.setdefaultencoding("utf-8")

# Setting locale to the 'local' value
locale.setlocale(locale.LC_ALL, '')
Expand Down

0 comments on commit 9037913

Please sign in to comment.