Appends text to 'employee_registry.txt'
(alias)
| 8 | from utility import ROOT_DIR |
| 9 | |
| 10 | def register_alias(alias): |
| 11 | """ |
| 12 | Appends text to 'employee_registry.txt' |
| 13 | """ |
| 14 | with open(os.path.join(ROOT_DIR, 'employee_registry.txt'), 'a') as f: |
| 15 | f.write('{0} was here!\t{1}\n'.format(alias, date.today()).expandtabs(50)) |
| 16 | |
| 17 | if __name__ == "__main__": |
| 18 | if len(sys.argv) != 2: |
no test coverage detected