Skip to content

Commit c789ebc

Browse files
committed
bugfix and moving to PEP8 stile
1 parent 2c68e2f commit c789ebc

File tree

3 files changed

+236
-254
lines changed

3 files changed

+236
-254
lines changed

mypylib

mytoncore.py

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -292,10 +292,9 @@ def Init(self):
292292
#end define
293293

294294
def Refresh(self):
295-
#if self.dbFile:
296-
# local.load_db(self.dbFile)
297-
#else:
298-
# local.load_db()
295+
if self.dbFile:
296+
local.load_db(self.dbFile)
297+
#end if
299298

300299
if not self.walletsDir:
301300
self.walletsDir = local.buffer.my_work_dir + "wallets/"
@@ -336,7 +335,7 @@ def Refresh(self):
336335
#end if
337336

338337
# Check config file
339-
#self.CheckConfigFile(fift, liteClient)
338+
self.CheckConfigFile(fift, liteClient)
340339
#end define
341340

342341
def CheckConfigFile(self, fift, liteClient):
@@ -3733,7 +3732,7 @@ def Event(eventName):
37333732
EnableVcEvent()
37343733
elif eventName == "validator down":
37353734
ValidatorDownEvent()
3736-
local.Exit()
3735+
local.exit()
37373736
#end define
37383737

37393738
def EnableVcEvent():

0 commit comments

Comments
 (0)