edited the gitignore file

master
Alice 7 years ago
parent 37afd6237d
commit aa590b09b4

3
.gitignore vendored

@ -1,4 +1,5 @@
images/** images/**
output/** output/**
src/index.json src/index.json
.DS_Store .DS_Store
src/**.wav

@ -77,6 +77,7 @@ def eval(cmds):
print('\n'.join(pattern)) print('\n'.join(pattern))
elif cmd[0] == 'save': elif cmd[0] == 'save':
pattern = text[0:line_number + 1]
pattern_file = open('output/patternfile.txt', 'w') pattern_file = open('output/patternfile.txt', 'w')
pattern_file.write('\n'.join(pattern)) pattern_file.write('\n'.join(pattern))
pattern_file.close() pattern_file.close()

Loading…
Cancel
Save