Spaces:
Runtime error
Runtime error
allenchienxxx
commited on
Commit
•
e529597
1
Parent(s):
76dd553
Update modules.py
Browse files- modules.py +1 -1
modules.py
CHANGED
@@ -43,7 +43,7 @@ def get_html(file):
|
|
43 |
html_flag = False
|
44 |
html_content = "";
|
45 |
tag_list = []
|
46 |
-
for line in file.decode('iso-8859-1'):
|
47 |
words = line.split()
|
48 |
for word in words:
|
49 |
if word == "<html>":
|
|
|
43 |
html_flag = False
|
44 |
html_content = "";
|
45 |
tag_list = []
|
46 |
+
for line in file.read().decode('iso-8859-1'):
|
47 |
words = line.split()
|
48 |
for word in words:
|
49 |
if word == "<html>":
|