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)