Skip to content

Commit 307da6d

Browse files
fix : version funcion modified
1 parent fce3049 commit 307da6d

File tree

1 file changed

+2
-9
lines changed

1 file changed

+2
-9
lines changed

orangetool/orangetool_system.py

+2-9
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,7 @@
33
import subprocess as sub
44
import time
55
import requests
6-
logo = '''
7-
________ __ .__
8-
\_____ \____________ ____ ____ _____/ |_ ____ ____ | |
9-
/ | \_ __ \__ \ / \ / ___\_/ __ \ __\/ _ \ / _ \| |
10-
/ | \ | \// __ \| | \/ /_/ > ___/| | ( <_> | <_> ) |__
11-
\_______ /__| (____ /___| /\___ / \___ >__| \____/ \____/|____/
12-
\/ \/ \//_____/ \/
13-
'''
6+
from art import tprint
147
ip_pattern = r"(?:[0-9]{1,3}\.){3}[0-9]{1,3}"
158
api_1 = "http://ipinfo.io/ip"
169
VERSION = "0.25"
@@ -138,7 +131,7 @@ def version():
138131
139132
:return: return orangetool-version number as string
140133
"""
141-
print(logo)
134+
tprint("orangetool",font="bulbhead")
142135
return "orangetool-v" + VERSION
143136

144137

0 commit comments

Comments
 (0)