From f65d014f4311b3cc838e935b620a2109e3290691 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maciej=20Wrzesi=C5=84ski?= Date: Thu, 17 Nov 2016 08:11:46 +0000 Subject: [PATCH] sicker_file.mkv --- instructionstokeywords.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/instructionstokeywords.py b/instructionstokeywords.py index 3149c1d..931f199 100644 --- a/instructionstokeywords.py +++ b/instructionstokeywords.py @@ -5,7 +5,7 @@ instructionsfile = open('instructions.txt', 'r') def commandStrip(sentence): for line in dotsfile: - line = line.strip('\n').replace(line, "") + sentence = sentence.replace(line.strip('\n'), '') return sentence def searchKeyWords(sentence):