HinaCortus commited on
Commit
61ace52
1 Parent(s): de3162d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -59,10 +59,9 @@ def whichsocial(request):
59
  for partsplit in request.split('/'):
60
  for part in partsplit.split('.'):
61
  for socialnetwork in listsocialnetwork:
62
- print(socialnetwork, part)
63
  if socialnetwork == part:
64
  print('found part')
65
- socialnetwork = socialnetwork
66
  else:
67
  website = "it's not a website link !"
68
  userprofile = 'me'
 
59
  for partsplit in request.split('/'):
60
  for part in partsplit.split('.'):
61
  for socialnetwork in listsocialnetwork:
 
62
  if socialnetwork == part:
63
  print('found part')
64
+ socialnetwork = part
65
  else:
66
  website = "it's not a website link !"
67
  userprofile = 'me'