      def get_images(imgpath):
          """ Get the images stored within the given directory """
          logger.debug("Getting images: '%s'", imgpath)
          if not os.path.isdir(imgpath):
              return None
          files = [os.path.join(imgpath, f)
                   for f in os.listdir(imgpath) if f.endswith((".png", ".jpg"))]
          logger.debug("Image files: %s", files)
          return files
  
 
</s>
            logger.debug("Folder does not exist")
      def get_images(imgpath):
          """ Get the images stored within the given directory """
          logger.debug("Getting images: '%s'", imgpath)
          if not os.path.isdir(imgpath):
            logger.debug("Folder does not exist")
              return None
          files = [os.path.join(imgpath, f)
                   for f in os.listdir(imgpath) if f.endswith((".png", ".jpg"))]
          logger.debug("Image files: %s", files)
          return files
  
keep keep keep add keep keep keep keep keep keep
 Add right click menu to GUI. Implement some GUI Logging
lib/gui/utils.py