6 self.home = os.path.expanduser("~")
7 self.default_folder = os.path.join(self.home, ".pcsuite")
8 self.devices_folder = os.path.join(self.default_folder,
10 self.backup_config_path = os.path.join(self.default_folder, "config")
11 self.backup_folder = os.path.join(self.default_folder, "Backup")
15 """Check the existence of required project folders, creating
16 them if needed. Also gives execution permission to all scripts.
20 # This is checking if the default folder exists too, because
21 # if it doesn't exist the mount_point won't exist either
22 if not os.path.exists(self.devices_folder):
23 os.makedirs(self.devices_folder)
24 if not os.path.exists(self.backup_config_path):
25 os.makedirs(self.backup_config_path)
26 if not os.path.exists(self.backup_folder):
27 os.makedirs(self.backup_folder)
33 if __name__ == "__main__":