95 zipname = f'{today}({current_time}).zip'
96 else:
97 zipname = input(
98 'There already ran a update today!\nWhat should be the name of the file (with .zip, empty for overwrite)?> ') 99 if len(zipname) < 5:
100 zipname = today + ".zip"
101 lg.info('No name given; overwriting...')
84 backfiles.append(line.replace('\n', ''))
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
Line length greater than configured max_line_length
detected, defaults to 79 character. This limit can be configured docs