Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -55,10 +55,10 @@ def decrypt(passw=None,enc_in=None):
|
|
| 55 |
|
| 56 |
enc_in=enc_in.strip('"').strip("b'").strip("'")
|
| 57 |
if "+aaa+" in enc_in:
|
| 58 |
-
mes1=enc_in.split("+aaa+",1)[
|
| 59 |
if "+bbb+" in mes1:
|
| 60 |
-
mes1=
|
| 61 |
-
mes2=mes1.split("+bbb+",1)[
|
| 62 |
im_bytes = bytes(mes2,'utf-8')
|
| 63 |
#base = bytes(decMessage, 'utf-8')
|
| 64 |
with open(f"finished_im.png", "wb") as fh:
|
|
|
|
| 55 |
|
| 56 |
enc_in=enc_in.strip('"').strip("b'").strip("'")
|
| 57 |
if "+aaa+" in enc_in:
|
| 58 |
+
mes1=enc_in.split("+aaa+",1)[0]
|
| 59 |
if "+bbb+" in mes1:
|
| 60 |
+
#mes1=enc_in.split("+bbb+",1)[0]
|
| 61 |
+
mes2=mes1.split("+bbb+",1)[0]
|
| 62 |
im_bytes = bytes(mes2,'utf-8')
|
| 63 |
#base = bytes(decMessage, 'utf-8')
|
| 64 |
with open(f"finished_im.png", "wb") as fh:
|