misc: small fix or general refactoring i did not bother commenting

This commit is contained in:
evilsocket 2018-04-06 18:37:49 +02:00
parent 36fff955c6
commit 2d3ba077e7
Failed to generate hash of commit

View file

@ -121,5 +121,6 @@ class UIService(ui_pb2_grpc.UIServicer, QtWidgets.QGraphicsObject):
def AskRule(self, request, context):
self._asking = True
rule = self._prompt_dialog.promptUser(request)
self._last_ping = datetime.now()
self._asking = False
return rule