Subversion Repositories kim

Compare Revisions

Ignore whitespace Rev 1 → Rev 2

/trunk/kim/kim.py
94,8 → 94,9
PRF_DIR = "C:\\Users\\%s\\AppData\\Local\\Google\\Chrome\\User Data\\Default" % USERNAME
 
if PRF_DIR is not None:
PRF_DIR = PRF_DIR.decode("utf-8")
log.debug("CHROME PROFILE DIRECTORY: %s", PRF_DIR.decode("utf-8"))
if type(PRF_DIR) != str:
PRF_DIR = PRF_DIR.decode("utf-8")
log.debug("CHROME PROFILE DIRECTORY: %s", PRF_DIR)
else:
log.debug("CHROME PROFILE DIRECTORY: not found")
return PRF_DIR