From 3e233d987eca933ce7da7a3824d003789d4f8c45 Mon Sep 17 00:00:00 2001 From: MeaTLoTioN Date: Thu, 7 Jul 2022 12:33:22 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=A4=9E=20fix=20the=20python=20error=20by?= =?UTF-8?q?=20setting=20all=20vars=20first=20to=20empty=20string=20before?= =?UTF-8?q?=20reading=20them=20in=20from=20the=20db=20file?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scripts/mL-nodeapp.mpy | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/mL-nodeapp.mpy b/scripts/mL-nodeapp.mpy index 7b4c671..a382ff3 100644 --- a/scripts/mL-nodeapp.mpy +++ b/scripts/mL-nodeapp.mpy @@ -296,6 +296,7 @@ def viewApplication() : applicationDir = NETSPATH+"/"+ARG+"/applications" applicationFile = applicationDir+"/"+handle+".dat" if os.path.exists(applicationFile) : + apDict = realName = bbsName = telnetAddress = cityState = sysopName = emailAddress = binkpAddress = binkpPort = sessionPassword = allfixPassword = pktPassword = ticPassword = numNodes = "" loadFile() apDict = application[handle] realName = apDict["realName"]