Browse Source

rename to avoid bad identifiers

remotes/github/dev
mike 1 year ago
parent
commit
66951ce1ae
2 changed files with 14 additions and 10 deletions
  1. +0
    -10
      BackupRotator.py
  2. +14
    -0
      main.py

backup-rotator → BackupRotator.py View File

@ -246,13 +246,3 @@ class BackupRotator:
else:
self.log("Purging directory:", dir_path)
shutil.rmtree(dir_path)
def main():
rotator = BackupRotator()
rotator.run()
if __name__ == "__main__":
main()

+ 14
- 0
main.py View File

@ -0,0 +1,14 @@
from BackupRotator import BackupRotator
#
def main():
rotator = BackupRotator()
rotator.run()
if __name__ == "__main__":
main()

Loading…
Cancel
Save