bb
This commit is contained in:
parent
71b22bb12d
commit
5c2eac7ddb
4 changed files with 21 additions and 19 deletions
|
@ -1,4 +1,4 @@
|
|||
from os import environ, listdir
|
||||
from os import environ
|
||||
import re
|
||||
from copy import deepcopy
|
||||
from json import loads
|
||||
|
@ -21,15 +21,6 @@ del result
|
|||
|
||||
marseys = dict(sorted(marseys.items(), key=lambda x: x[1]))
|
||||
|
||||
if SITE == 'rdrama.net':
|
||||
topmakers = {}
|
||||
for k, val in marseys.items():
|
||||
if val in topmakers: topmakers[val] += 1
|
||||
else: topmakers[val] = 1
|
||||
|
||||
topmakers.pop('unknown')
|
||||
topmakers = sorted(topmakers.items(), key=lambda x: x[1], reverse=True)[:25]
|
||||
|
||||
AJ_REPLACEMENTS = {
|
||||
' your ': " you're ",
|
||||
' to ': " too ",
|
||||
|
@ -775,6 +766,4 @@ NOTIFIED_USERS = {
|
|||
'dong': DONGER_ID,
|
||||
'dong': FARTBINN_ID,
|
||||
'kippy': KIPPY_ID,
|
||||
}
|
||||
|
||||
num_banners = len(listdir('files/assets/images/Drama/banners')) + 1
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue