diff --git a/README.md b/README.md index 63cb498..a2277f9 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ This too has several functions: ## To-Do -* `chmod +x` :) +* Prettier code * Only update once per day, except if `-u` `--update` * Adding more services to listen to ? diff --git a/pendora-box.py b/pendora-box.py index 34c6e72..676c3b0 100644 --- a/pendora-box.py +++ b/pendora-box.py @@ -181,6 +181,14 @@ def update(config): githubreleasesync(reponame, repoinfo, credz) ncatsync(config['ncat']) + make_executable() + + +def make_executable(): + path = pathlib.Path('files') + for fpath in path.glob("*"): + if fpath.name != '.gitkeep': + fpath.chmod(0o777) def print_menu(menu_options):