1
0
فهرست منبع

fix bug and varname metdata files

Jalal Mostafa 2 سال پیش
والد
کامیت
bb769ee9c2
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      core.py

+ 1 - 1
core.py

@@ -131,7 +131,7 @@ def fetch_epics():
             val = ca.get_complete_with_metadata(chid, ftype=14)
             timestamp = calendar.timegm(
                 datetime.datetime.utcfromtimestamp(val['timestamp']).timetuple())
-            pvdata[ca.name(chid)] = {
+            pvdata[pvs[idx]] = {
                 'timestamp': timestamp,
                 'value': val['value']
             }