Spaces:
Runtime error
Runtime error
HinaCortus
commited on
Commit
•
b7ae21f
1
Parent(s):
cb2a52a
Update app.py
Browse files
app.py
CHANGED
@@ -57,8 +57,8 @@ def whichsocial(request):
|
|
57 |
'reddit', 'picterest', 'discord', '']
|
58 |
for part in request.split('/'):
|
59 |
for socialnetwork in listsocialnetwork:
|
60 |
-
print(socialnetwork)
|
61 |
-
if socialnetwork
|
62 |
socialnetwork = socialnetwork
|
63 |
else:
|
64 |
socialnetwork = "not found"
|
|
|
57 |
'reddit', 'picterest', 'discord', '']
|
58 |
for part in request.split('/'):
|
59 |
for socialnetwork in listsocialnetwork:
|
60 |
+
print(socialnetwork, part)
|
61 |
+
if socialnetwork == request:
|
62 |
socialnetwork = socialnetwork
|
63 |
else:
|
64 |
socialnetwork = "not found"
|