tanghongbin пре 5 година
родитељ
комит
52dbabf555
1 измењених фајлова са 1 додато и 2 уклоњено
  1. 1 2
      Controller/DetectController.py

+ 1 - 2
Controller/DetectController.py

@@ -75,8 +75,7 @@ class NotificationView(View):
         log += '\tchannel=' + channel
         log += '\tevent_type=' + event_type
 
-
-        pkey = '{uid}_{channel}_{event_type}_ptl'.format(uid=uid, event_type=event_type, channel=channel)
+        pkey = '{uid}_{channel}_ptl'.format(uid=uid, event_type=event_type, channel=channel)
         # ykey = 'MUJ887NLR8K8GBM9111A_redis_qs'.format(uid=uid)
         ykey = '{uid}_redis_qs'.format(uid=uid)
         dkey = '{uid}_{channel}_{event_type}_flag'.format(uid=uid, event_type=event_type, channel=channel)