From 89ff313d989e51ff2edfa6ebed36d30efb5502d1 Mon Sep 17 00:00:00 2001 From: Deviant <112615715+DEViantUA@users.noreply.github.com> Date: Wed, 30 Nov 2022 05:49:09 +0200 Subject: [PATCH] Add files via upload --- enkanetworkcard/aioencbanner.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/enkanetworkcard/aioencbanner.py b/enkanetworkcard/aioencbanner.py index 0a42e47..8d9a2e9 100644 --- a/enkanetworkcard/aioencbanner.py +++ b/enkanetworkcard/aioencbanner.py @@ -122,11 +122,13 @@ async def profile(self,uid, image = True): itog = creatUserProfile(image,profile.player,self.translateLang,self.hide,uid,self.assets) return itog - async def start(self,uids, template = 1): + async def start(self,uids, template = 1, name = None): if self.FIX_ASYNCIO_WIN: asyncio.set_event_loop_policy(asyncio.WindowsSelectorEventLoopPolicy()) startPotoki = {} ResultEnka = {} + if name: + self.name = name if template < 1 or template > 2: raise ENCardError(1, "The teamle parameter supports values ​​from 1 to 2") uids = uidCreat(uids)