allenchienxxx commited on
Commit
34daa83
·
1 Parent(s): 2c9ef7d

Update analze.py

Browse files
Files changed (1) hide show
  1. analze.py +1 -0
analze.py CHANGED
@@ -34,6 +34,7 @@ def check_file_type(file):
34
  def save_file(up_file):
35
  with open(os.path.join('email files/', up_file.name), 'wb') as f:
36
  f.write(up_file.getbuffer())
 
37
 
38
  def text_feature(filepath):
39
  text = get_text(filepath)
 
34
  def save_file(up_file):
35
  with open(os.path.join('email files/', up_file.name), 'wb') as f:
36
  f.write(up_file.getbuffer())
37
+ print("file save: "+up_file.name)
38
 
39
  def text_feature(filepath):
40
  text = get_text(filepath)