(self, dirname)
Slot connected to the `QFileSystemWatcher.directoryChanged` Signal.
Slot connected to the `QFileSystemWatcher.directoryChanged` Signal.
Slot connected to the QFileSystemWatcher . directoryChanged Signal .
def on_directory_changed(self, dirname):
        """ Slot connected to the `QFileSystemWatcher.directoryChanged` Signal.
        """
        # If the directory containing the currently loaded secret changes, it
        # is reloaded.
        _, secret = os.path.split(os.path.normpath(dirname))
        if secret == self.current_secret:
            self.load_secret(secret)
def on_directory_changed ( self , dirname ) : # If the directory containing the currently loaded secret changes, it # is reloaded. _ , secret = os . path . split ( os . path . normpath ( dirname ) ) if secret == self . current_secret : self . load_secret ( secret )