HinaCortus commited on
Commit
b7ae21f
1 Parent(s): cb2a52a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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 in request:
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"