Hamza Salhi commited on
Commit
6e5e6e5
1 Parent(s): c1897a8

Update funcs.py

Browse files

removed the full path

Files changed (1) hide show
  1. funcs.py +1 -1
funcs.py CHANGED
@@ -1,6 +1,6 @@
1
  def get_text_block(fname):
2
  # this is how to read a block of text:
3
- path = "..//pdac2021_res_est_course_link2//text_blocks"
4
  f = open(path + "//" + fname, "r")
5
  # and then write it to the app
6
  return f.read();
 
1
  def get_text_block(fname):
2
  # this is how to read a block of text:
3
+ path = "text_blocks"
4
  f = open(path + "//" + fname, "r")
5
  # and then write it to the app
6
  return f.read();