Fix linesep between gitignored entries

This commit is contained in:
Nikita P. Shupeyko 2017-08-24 17:56:53 +03:00
parent 4f3ec4ddca
commit ec887c11e8

View File

@ -211,6 +211,7 @@ def append_to_gitignore(path):
gitignore_file_path = os.path.join(PROJECT_DIRECTORY, '.gitignore')
with open(gitignore_file_path, 'a') as gitignore_file:
gitignore_file.write(path)
gitignore_file.write(os.linesep)
# IN PROGRESS
# def copy_doc_files(project_directory):