From 3aa95883267e9fd22cd33b4b3c045b0a16f89ad7 Mon Sep 17 00:00:00 2001 From: shevonkuan Date: Tue, 3 Jan 2023 17:12:00 +0800 Subject: [PATCH] modified: encoder_test.py --- encoder_test.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/encoder_test.py b/encoder_test.py index adb0150..5f3e2b5 100755 --- a/encoder_test.py +++ b/encoder_test.py @@ -27,7 +27,7 @@ vless_demo_1 = { } } -vmess_demo_1 = { +vmess_demo_2 = { 'type': 'vmess', 'name': '🇭🇰 DataGrids DMIT VMess 1Gbps', 'info': { @@ -51,8 +51,9 @@ vmess_demo_1 = { } vless_demo_1['info'] = Filter('vless', vless_demo_1['info']) -vmess_demo_1['info'] = Filter('vmess', vmess_demo_1['info']) +vmess_demo_2['info'] = Filter('vmess', vmess_demo_2['info']) # print(vless_demo_1) # print(vmess_demo_1) -print(Encoder.v2rayN(vmess_demo_1['info'], 'demo')) +print(Encoder.v2rayN(vmess_demo_2['info'], 'demo')) +print(Encoder.vless(vmess_demo_1['info'], 'demo')) \ No newline at end of file