From bf79082b07e2acedcbcf501dac5caa80b2a0b7c0 Mon Sep 17 00:00:00 2001 From: curly60e <55191248+curly60e@users.noreply.github.com> Date: Fri, 25 Dec 2020 09:22:01 -0300 Subject: [PATCH] Reduce nym size Reduce nym size when showing channels or peers --- nodeconnection.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/nodeconnection.py b/nodeconnection.py index 1341d61..e4c0976 100644 --- a/nodeconnection.py +++ b/nodeconnection.py @@ -196,7 +196,7 @@ def locallistpeersQQ(): img_path = open(hash +".png", "rb") img = Image.open(img_path) - h = 2 + h = 1 w = int((img.width / img.height) * 5) img = img.resize((w,h), Image.ANTIALIAS) @@ -206,7 +206,7 @@ def locallistpeersQQ(): img_path = open(hash +".png", "rb") img = Image.open(img_path) - h = 2 + h = 1 w = int((img.width / img.height) * 5) img = img.resize((w,h), Image.ANTIALIAS) @@ -420,7 +420,7 @@ def locallistchannels(): img_path = open(hash +".png", "rb") img = Image.open(img_path) - h = 2 + h = 1 w = int((img.width / img.height) * 5) img = img.resize((w,h), Image.ANTIALIAS) @@ -430,7 +430,7 @@ def locallistchannels(): img_path = open(hash +".png", "rb") img = Image.open(img_path) - h = 2 + h = 1 w = int((img.width / img.height) * 5) img = img.resize((w,h), Image.ANTIALIAS) @@ -1044,7 +1044,7 @@ def channels(): img_path = open(hash +".png", "rb") img = Image.open(img_path) - h = 2 + h = 1 w = int((img.width / img.height) * 5) img = img.resize((w,h), Image.ANTIALIAS) @@ -1054,7 +1054,7 @@ def channels(): img_path = open(hash +".png", "rb") img = Image.open(img_path) - h = 2 + h = 1 w = int((img.width / img.height) * 5) img = img.resize((w,h), Image.ANTIALIAS)