Skip to content
Browse files

Workaround for py2exe encodings issue.

  • Loading branch information...
1 parent 10da316 commit 9c015d36bd1994a185a803c5bc6c420d3a0c2e3a @bendmorris bendmorris committed May 9, 2012
Showing with 4 additions and 0 deletions.
  1. +4 −0 main.py
View
4 main.py
@@ -9,6 +9,10 @@
import os
import sys
+if hasattr(sys, 'setdefaultencoding'):
+ sys.setdefaultencoding('latin-1')
+else:
+ pass
from retriever import VERSION, MASTER, SCRIPT_LIST, ENGINE_LIST
from retriever.lib.repository import check_for_updates
from retriever.lib.lists import Category, get_lists

0 comments on commit 9c015d3

Please sign in to comment.
Something went wrong with that request. Please try again.