53
53
log_file = open(self.mCThemeNameFile, "r")
54
54
theme_name = log_file.readline()
56
59
# check if current theme name equals with edited and is not prefixed (filename[1])
57
60
if self.__strip(theme_name) == self.mThemeName and filename[1] == "":
58
61
self.mEditedIsCurrent = True
62
63
except Exception as inst: # handle exceptions here
63
64
print type(inst) # the exception instance
64
65
print inst.args # arguments stored in .args