diff options
Diffstat (limited to 'mat-cli')
| -rwxr-xr-x | mat-cli | 4 |
1 files changed, 3 insertions, 1 deletions
| @@ -149,8 +149,10 @@ def main(): | |||
| 149 | for filename in filenames: | 149 | for filename in filenames: |
| 150 | class_file = mat.create_class_file(filename, args.backup, | 150 | class_file = mat.create_class_file(filename, args.backup, |
| 151 | args.add2archive) | 151 | args.add2archive) |
| 152 | if class_file is not None: | 152 | if class_file is not False: |
| 153 | func(class_file, filename, args.force) | 153 | func(class_file, filename, args.force) |
| 154 | else: | ||
| 155 | print('Unable to process %s' % filename) | ||
| 154 | 156 | ||
| 155 | if __name__ == '__main__': | 157 | if __name__ == '__main__': |
| 156 | main() | 158 | main() |
