🤞 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:
parent
778ccb73d9
commit
3e233d987e
@ -296,6 +296,7 @@ def viewApplication() :
|
|||||||
applicationDir = NETSPATH+"/"+ARG+"/applications"
|
applicationDir = NETSPATH+"/"+ARG+"/applications"
|
||||||
applicationFile = applicationDir+"/"+handle+".dat"
|
applicationFile = applicationDir+"/"+handle+".dat"
|
||||||
if os.path.exists(applicationFile) :
|
if os.path.exists(applicationFile) :
|
||||||
|
apDict = realName = bbsName = telnetAddress = cityState = sysopName = emailAddress = binkpAddress = binkpPort = sessionPassword = allfixPassword = pktPassword = ticPassword = numNodes = ""
|
||||||
loadFile()
|
loadFile()
|
||||||
apDict = application[handle]
|
apDict = application[handle]
|
||||||
realName = apDict["realName"]
|
realName = apDict["realName"]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user