fix traceback when we don't use a profile

This commit is contained in:
Yann Leboulanger 2011-10-23 19:52:32 +02:00
parent 6a2d835eab
commit 25961e0e68

View file

@ -144,6 +144,7 @@ def parseOpts():
import locale import locale
profile, config_path = parseOpts() profile, config_path = parseOpts()
if config_path:
config_path = unicode(config_path, locale.getpreferredencoding()) config_path = unicode(config_path, locale.getpreferredencoding())
del parseOpts del parseOpts