Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
tetradog committed Jul 27, 2021
2 parents d42174e + ddc7d84 commit 8194fcb
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions CheckFenix.TelegramBot.Python/Checker.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,14 @@ def __init__(self,configFileName="config"):

def Load(self,args):
if len(args)>=4:
self.Web=args[0];
self.Channel=args[1];
self.ApiBotKey=args[2];
if len(args)>3:
self.TotalLoop=args[3];
self.Web=args[1];
self.Channel=args[2];
self.ApiBotKey=args[3];
if len(args)>4:
self.ChatLogId=args[4];
self.TotalLoop=args[4];
self.TotalLoopLoaded=True;
if len(args)>5:
self.ChatLogId=args[5];
self.ChatLogIdLoaded=True;

elif exists(self.ConfigFileName):
Expand Down

0 comments on commit 8194fcb

Please sign in to comment.