示例#1
0
 def sp_cnf_new(self, ev=None):
     self.spCnf = ScraperConfig()
     self.gui_switch_to_sp_cnf()
     screenshots = [
         f for f in os.listdir(Gui.path_screenshots)
         if os.path.splitext(f)[1] == '.tif'
     ]
     f = os.path.join(Gui.path_screenshots, screenshots[0])
     self.sp_show_image(f)