mirror of
https://github.com/shmilylty/OneForAll.git
synced 2026-08-26 12:57:50 +08:00
不使用encode函数
This commit is contained in:
@@ -187,7 +187,7 @@ class OneForAll(object):
|
|||||||
takeover.run()
|
takeover.run()
|
||||||
|
|
||||||
def run(self):
|
def run(self):
|
||||||
print(banner.encode('utf-8'))
|
print(banner)
|
||||||
dt = datetime.now().strftime('%Y-%m-%d %H:%M:%S')
|
dt = datetime.now().strftime('%Y-%m-%d %H:%M:%S')
|
||||||
print(f'[*] Starting OneForAll @ {dt}\n')
|
print(f'[*] Starting OneForAll @ {dt}\n')
|
||||||
logger.log('DEBUG', 'Python ' + utils.python_version())
|
logger.log('DEBUG', 'Python ' + utils.python_version())
|
||||||
@@ -205,7 +205,7 @@ class OneForAll(object):
|
|||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def version():
|
def version():
|
||||||
print(banner.encode('utf-8'))
|
print(banner)
|
||||||
exit(0)
|
exit(0)
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user