thewellermangroup commited on
Commit
5fd1844
·
1 Parent(s): 18ccce6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -31,6 +31,9 @@ def password(passwordIn):
31
  f = open('/FUNCTIONS/FUNCTIONS_BACKEND.txt', 'r', encoding='utf-8')
32
  FUNCTIONS_BACKEND = eval('{'+f.read()+'}')
33
  f.close()
 
 
 
34
  f = open('/LINKS/LINKS.txt', 'r', encoding='utf-8')
35
  LINKS = eval('{'+f.read()+'}')
36
  f.close()
@@ -42,7 +45,7 @@ def password(passwordIn):
42
  data['DATA'].update({'LINKS': LINKS})
43
 
44
  data['DATA'].update({'CODE': {}})
45
- data['DATA']['CODE'].update({'FUNCTIONS': FUNCTIONS_BACKEND})
46
  data['DATA']['CODE'].update({'RIGHT_CLICK': RIGHT_CLICK})
47
  else:
48
  data = {
 
31
  f = open('/FUNCTIONS/FUNCTIONS_BACKEND.txt', 'r', encoding='utf-8')
32
  FUNCTIONS_BACKEND = eval('{'+f.read()+'}')
33
  f.close()
34
+ f = open('/FUNCTIONS/FUNCTIONS_FRONTEND.txt', 'r', encoding='utf-8')
35
+ FUNCTIONS_FRONTEND = eval('{'+f.read()+'}')
36
+ f.close()
37
  f = open('/LINKS/LINKS.txt', 'r', encoding='utf-8')
38
  LINKS = eval('{'+f.read()+'}')
39
  f.close()
 
45
  data['DATA'].update({'LINKS': LINKS})
46
 
47
  data['DATA'].update({'CODE': {}})
48
+ data['DATA']['CODE'].update({'FUNCTIONS': {'BACKEND': FUNCTIONS_BACKEND, 'FRONTEND': FUNCTIONS_FRONTEND}})
49
  data['DATA']['CODE'].update({'RIGHT_CLICK': RIGHT_CLICK})
50
  else:
51
  data = {