German-Immersive-Railroading-Community / BackupSystem

Use of exit() or quit() detected PYL-R1722
Bug risk
Major
2 years ago2 years old
Consider using sys.exit()
 85except FileNotFoundError:
 86    lg.critical(
 87        'The file containing the files and folders that should be backed up (backfiles.txt) has not been found!')
 88    exit() 89lg.info('Done reading backfiles.txt')
 90
 91if data['last'] == today: