From 99a8148d17f5000f7fd4065246eda03dbcbedf58 Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Wed, 13 Jul 2022 11:32:23 +0200 Subject: daily-psk: update initialization of empty array Having the parenthesis here is important for valid syntax! --- daily-psk.template | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'daily-psk.template') diff --git a/daily-psk.template b/daily-psk.template index bd457dc..af05cd7 100644 --- a/daily-psk.template +++ b/daily-psk.template @@ -56,7 +56,7 @@ $WaitFullyConnected; ($DailyPskSecrets->2->$WeekDay)); } -:local Seen [ :toarray "" ]; +:local Seen ({}); :local Date [ /system/clock/get date ]; :local NewPsk [ $GeneratePSK $Date ]; -- cgit v1.2.3-70-g09d2