Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
DEViantUA authored Nov 30, 2022
1 parent 3da10a5 commit 89ff313
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion enkanetworkcard/aioencbanner.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 89ff313

Please sign in to comment.