tqhoa commited on
Commit
7b74e96
·
1 Parent(s): 5cad6a6

Update person.py

Browse files
Files changed (1) hide show
  1. person.py +2 -1
person.py CHANGED
@@ -18,7 +18,8 @@ class Person:
18
 
19
  @staticmethod
20
  def read_file(filename):
21
- with resources.open_text("", filename) as f:
 
22
  data = f.read().splitlines()
23
 
24
  return data
 
18
 
19
  @staticmethod
20
  def read_file(filename):
21
+ #with resources.open_text("", filename) as f:
22
+ with open(filename, 'r') as f:
23
  data = f.read().splitlines()
24
 
25
  return data