Exemplo n.º 1
0
    def save_dlpath(self, fs, path):
        if not path:
            return

        if not os.path.exists(self.dlsel.path):
            p = Notify.Error(
                self, "Invalid storage path",
                "You have selected an invalid data storage path for torrents.")
            return

        self.path_lbl.text = path
        self.conf.set("Settings", "storage_path", self.dlsel.path)