thewellermangroup commited on
Commit
28ba278
1 Parent(s): 725ca88

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -37,7 +37,7 @@ def password(passwordIn):
37
  f = open('/LINKS/LINKS.txt', 'r', encoding='utf-8')
38
  LINKS = eval('{'+f.read()+'}')
39
  f.close()
40
- f = open('/RIGHT_CLICK/RIGHT_CLICK.txt', 'r', encoding='utf-8')
41
  RIGHT_CLICK = f.read()
42
  f.close()
43
 
@@ -46,7 +46,7 @@ def password(passwordIn):
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 = {
52
  'PASSWORD': 'Access Denied',
@@ -55,7 +55,7 @@ def password(passwordIn):
55
  'DATA': {
56
  'CODE': {
57
  'FUNCTIONS': 'Access Denied',
58
- 'RIGHT_CLICK': 'Access Denied'
59
  },
60
  'LINKS': 'Access Denied'
61
  }
 
37
  f = open('/LINKS/LINKS.txt', 'r', encoding='utf-8')
38
  LINKS = eval('{'+f.read()+'}')
39
  f.close()
40
+ f = open('/RIGHT_CLICK/RIGHTCLICK.txt', 'r', encoding='utf-8')
41
  RIGHT_CLICK = f.read()
42
  f.close()
43
 
 
46
 
47
  data['DATA'].update({'CODE': {}})
48
  data['DATA']['CODE'].update({'FUNCTIONS': {'BACKEND': FUNCTIONS_BACKEND, 'FRONTEND': FUNCTIONS_FRONTEND}})
49
+ data['DATA']['CODE'].update({'RIGHTCLICK': RIGHT_CLICK})
50
  else:
51
  data = {
52
  'PASSWORD': 'Access Denied',
 
55
  'DATA': {
56
  'CODE': {
57
  'FUNCTIONS': 'Access Denied',
58
+ 'RIGHTCLICK': 'Access Denied'
59
  },
60
  'LINKS': 'Access Denied'
61
  }