DrishtiSharma commited on
Commit
8d576a1
1 Parent(s): 3098c8b

Update reader.py

Browse files
Files changed (1) hide show
  1. reader.py +8 -13
reader.py CHANGED
@@ -10,7 +10,7 @@ def get_article():
10
  filename = "info.txt"
11
  placeholder = "please create an info.txt to customize this text"
12
 
13
- title = bkgd = sgd1 = sgd2 = td = limitation = con1 = con2 = con3 = mem1 = mem2 = mem3 = mem4 = mem5 = placeholder
14
  # check if info.txt is present
15
  if os.path.isfile(filename):
16
  # open info.txt in read mode
@@ -27,11 +27,11 @@ def get_article():
27
  con1 = info.readline()
28
  con2 = info.readline()
29
  con3 = info.readline()
30
- mem1 = info.readline()
31
- mem2 = info.readline()
32
- mem3 = info.readline()
33
- mem4 = info.readline()
34
- mem5 = info.readline()
35
 
36
  # close file
37
  info.close()
@@ -64,13 +64,8 @@ def get_article():
64
  line('li', con2)
65
  line('li', con3)
66
  with tag('div', klass='my-div'):
67
- line('h2', 'Conclusion and Future Work:')
68
- with tag('ul'):
69
- line('li', mem1)
70
- line('li', mem2)
71
- line('li', mem3)
72
- line('li', mem4)
73
- line('li', mem5)
74
 
75
  css = '''
76
  .my-div {
 
10
  filename = "info.txt"
11
  placeholder = "please create an info.txt to customize this text"
12
 
13
+ title = bkgd = sgd1 = sgd2 = td = limitation = con1 = con2 = con3 = mems = placeholder
14
  # check if info.txt is present
15
  if os.path.isfile(filename):
16
  # open info.txt in read mode
 
27
  con1 = info.readline()
28
  con2 = info.readline()
29
  con3 = info.readline()
30
+ mems = info.readline()
31
+ #mem2 = info.readline()
32
+ #mem3 = info.readline()
33
+ #mem4 = info.readline()
34
+ #mem5 = info.readline()
35
 
36
  # close file
37
  info.close()
 
64
  line('li', con2)
65
  line('li', con3)
66
  with tag('div', klass='my-div'):
67
+ line('h2', 'Team Members')
68
+ line('p', mems)
 
 
 
 
 
69
 
70
  css = '''
71
  .my-div {