~zethra/sasha-fetch

ab711b04c0a767b01b5da549c12cb4bda89d171f — Sashanoraa 6 months ago 6bce711
Refactor

Signed-off-by: Sashanoraa <ben@benaaron.dev>
1 files changed, 3 insertions(+), 3 deletions(-)

M generate.py
M generate.py => generate.py +3 -3
@@ 15,7 15,7 @@ COLOR_ANSI = (
    (0x00, 0xff, 0xff), (0xff, 0xff, 0xff),
)

class LolCat:
class TextColor:
    def __init__(self, mode=256):
        self.mode = mode
        self.os = random.randint(10, 25)


@@ 90,8 90,8 @@ Protonmail: sashanoraa@protonmail.com

img = f.read().splitlines()

titles = LolCat()
data = LolCat()
titles = TextColor()
data = TextColor()
data.os = ((titles.os - 10 + 7) % 15) + 10

output = open(sys.argv[1], 'w')