fix traceback when we don't use a profile
This commit is contained in:
parent
6a2d835eab
commit
25961e0e68
|
@ -144,7 +144,8 @@ def parseOpts():
|
|||
|
||||
import locale
|
||||
profile, config_path = parseOpts()
|
||||
config_path = unicode(config_path, locale.getpreferredencoding())
|
||||
if config_path:
|
||||
config_path = unicode(config_path, locale.getpreferredencoding())
|
||||
del parseOpts
|
||||
|
||||
profile = unicode(profile, locale.getpreferredencoding())
|
||||
|
|
Loading…
Reference in New Issue