diff --git a/files/helpers/sanitize.py b/files/helpers/sanitize.py index e710374e3d..51f7f60494 100644 --- a/files/helpers/sanitize.py +++ b/files/helpers/sanitize.py @@ -231,7 +231,7 @@ def sanitize(sanitized, noimages=False, alert=False, comment=False, edit=False): classes = 'emoji-md' remoji = emoji - if not edit and random() < 0.005 and ('marsey' in emoji or emoji in marseys_const): classes += ' golden' + if not edit and random() < 0.0025 and ('marsey' in emoji or emoji in marseys_const): classes += ' golden' if remoji == 'marseyrandom': remoji = choice(marseys_const) @@ -253,7 +253,7 @@ def sanitize(sanitized, noimages=False, alert=False, comment=False, edit=False): if emoji.startswith("!"): emoji = emoji[1:] classes = 'emoji mirrored' - if not edit and random() < 0.005 and ('marsey' in emoji or emoji in marseys_const): classes += ' golden' + if not edit and random() < 0.0025 and ('marsey' in emoji or emoji in marseys_const): classes += ' golden' old = emoji if emoji == 'marseyrandom': emoji = choice(marseys_const) @@ -264,7 +264,7 @@ def sanitize(sanitized, noimages=False, alert=False, comment=False, edit=False): if comment: marseys_used.add(emoji) else: classes = 'emoji' - if not edit and random() < 0.005 and ('marsey' in emoji or emoji in marseys_const): classes += ' golden' + if not edit and random() < 0.0025 and ('marsey' in emoji or emoji in marseys_const): classes += ' golden' old = emoji if emoji == 'marseyrandom': emoji = choice(marseys_const) @@ -343,7 +343,7 @@ def filter_emojis_only(title, edit=False, graceful=False): if emoji.startswith("!"): emoji = emoji[1:] classes = 'emoji mirrored' - if not edit and random() < 0.005 and ('marsey' in emoji or emoji in marseys_const): classes += ' golden' + if not edit and random() < 0.0025 and ('marsey' in emoji or emoji in marseys_const): classes += ' golden' old = emoji if emoji == 'marseyrandom': emoji = choice(marseys_const) @@ -354,7 +354,7 @@ def filter_emojis_only(title, edit=False, graceful=False): else: classes = 'emoji' - if not edit and random() < 0.005 and ('marsey' in emoji or emoji in marseys_const): classes += ' golden' + if not edit and random() < 0.0025 and ('marsey' in emoji or emoji in marseys_const): classes += ' golden' old = emoji if emoji == 'marseyrandom': emoji = choice(marseys_const)