Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit c97782c

Browse files
committed
Minor update of banner
1 parent ff8bfff commit c97782c

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

lib/core/settings.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
"""
77

88
import os
9+
import random
910
import re
1011
import subprocess
1112
import string
@@ -28,12 +29,13 @@
2829
2930

3031
# colorful banner
32+
_ = random.sample(('o', 'x', '^', 'p'), 1)[0]
3133
BANNER = """\033[01;33m _
32-
___ ___| |_____ ___ ___ \033[01;37m{\033[01;%dm%s\033[01;37m}\033[01;33m
34+
___ ___| |_%s_%s_ ___ ___ \033[01;37m{\033[01;%dm%s\033[01;37m}\033[01;33m
3335
|_ -| . | | | .'| . |
3436
|___|_ |_|_|_|_|__,| _|
3537
|_| |_| \033[0m\033[4m%s\033[0m\n
36-
""" % ((31 + hash(REVISION) % 6) if REVISION else 30, VERSION_STRING.split('/')[-1], SITE)
38+
""" % (_, _, (31 + hash(REVISION) % 6) if REVISION else 30, VERSION_STRING.split('/')[-1], SITE)
3739

3840
# Minimum distance of ratio from kb.matchRatio to result in True
3941
DIFF_TOLERANCE = 0.05

0 commit comments

Comments
 (0)