Skip to content

Commit

Permalink
Script bugs fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
Showndarya committed Oct 9, 2018
1 parent eabebe6 commit 6eaf56b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .travis.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,8 @@
print("🔥 Value for 'word' appears to be empty.")

filename = tail.split('.')
if file_content["word"] != filename[0]:
wordinfile = filename.split('_')
if file_content["word"] != wordinfile[0]:
there_was_an_error = True
print("🔥 Name of word in filename and value for 'word' doesn't match.")

Expand Down

0 comments on commit 6eaf56b

Please sign in to comment.