Re: iniGetObject dotted keys
By: Ragnarok to DOVE-Net.Synchronet_Discussion on Mon Dec 14 2020 03:14 am
Hi, i try to parse the binkstats.ini to generate a report
I have two questions:
1) i use iniGetObjet()
example = the_file.iniGetObject("inbound success: 4:902/25@fidonet");
print (example.info.sys) result "info is undefined".
how to get "dotted" keys like, info.sys, info.loc with iniGetObject() function?
example["info.sys"]
I could change those "info." items to "info_" if that'd make it easier for you.
2) I found that failed_sent_files key has "[object]" value text instead
of string human readable data like received_files key.
[inbound success: 4:902/25@fidonet]
oper = Ragnarok
AKAs = 4:902/25@fidonet
caps = MO,CM,TCP,IFC,TEL,VMP,BND,IBN,BINKD
vers = Argus/3.210/
info.sys = Dock Sud Argus Node 25
info.loc = Sarandi, BsAS, Argentina
info.phn = nt4bbs
info.time = Sat, 20 Jun 2020 05:29:05 -0300
info.freq =
localtime = Jun 20 2020 02:29:05
failed_sent_files = [object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object
received_files = /sbbs/temp/0386001A.REQ
Ah, interesting. I'll have to take a look at that.
--
digital man
This Is Spinal Tap quote #3:
How much more black could this be? and the answer is none. None more black. Norco, CA WX: 56.5øF, 76.0% humidity, 3 mph WSW wind, 0.02 inches rain/24hrs ---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net