🤞 fix the python error by setting all vars first to empty string before reading them in from the db file

This commit is contained in:
MeaTLoTioN 2022-07-07 12:33:22 +01:00
parent 778ccb73d9
commit 3e233d987e

View File

@ -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"]