Fix TG retry welcome bug

This commit is contained in:
Reckless_Satoshi 2022-03-26 08:23:34 -07:00
parent b89df0217d
commit fae1f1317e
No known key found for this signature in database
GPG Key ID: 9C4585B561315571
2 changed files with 2 additions and 1 deletions

View File

@ -54,7 +54,9 @@ class Command(BaseCommand):
self.telegram.welcome(profile.user)
profile.telegram_enabled = True
profile.save()
break
except:
time.sleep(5)
attempts = attempts - 1
offset = response['result'][-1]['update_id']

View File

@ -115,7 +115,6 @@
.slider .quote {
text-align: center;
font-size: 20px;
font-style: italic;
}
.slider li.anim1 {