def propertiesIni(self): if os.path.exists(self.propertiesIniFile()): return IniFile(self.propertiesIniFile()) else: ini = IniFile() ini.original_filename = self.propertiesIniFile() return ini