Update app.py
Browse files
app.py
CHANGED
|
@@ -91,8 +91,11 @@ def load_space_d(r_name,s_name,d_app):
|
|
| 91 |
o_file.writelines(r.text)
|
| 92 |
return r.text
|
| 93 |
def upd(x):
|
| 94 |
-
|
| 95 |
-
|
|
|
|
|
|
|
|
|
|
| 96 |
return x
|
| 97 |
def repl(rs,rt,d_app):
|
| 98 |
file = open(f'{uid}/{d_app}','r')
|
|
|
|
| 91 |
o_file.writelines(r.text)
|
| 92 |
return r.text
|
| 93 |
def upd(x):
|
| 94 |
+
file = open(f'{uid}/{d_app}','w')
|
| 95 |
+
file.writelines(x)
|
| 96 |
+
file.close()
|
| 97 |
+
o_file = open(f'{uid}/mod_{d_app}','w')
|
| 98 |
+
o_file.writelines(x)
|
| 99 |
return x
|
| 100 |
def repl(rs,rt,d_app):
|
| 101 |
file = open(f'{uid}/{d_app}','r')
|