Skip to content

Commit f511780

Browse files
committed
bugfix
1 parent 3c20a79 commit f511780

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mytonctrl/mytonctrl.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -384,7 +384,7 @@ def Upgrade(ton, args):
384384
try:
385385
from mytoninstaller.mytoninstaller import set_node_argument, get_node_args
386386
node_args = get_node_args()
387-
if node_args['--state-ttl'] == 604800:
387+
if node_args['--state-ttl'] == '604800':
388388
set_node_argument(ton.local, ["--state-ttl", "-d"])
389389
except Exception as e:
390390
color_print(f"{{red}}Failed to set node argument: {e} {{endc}}")

0 commit comments

Comments
 (0)