diff --git a/ceshi.py b/ceshi.py index d2c5ca0..810ec11 100644 --- a/ceshi.py +++ b/ceshi.py @@ -409,7 +409,9 @@ class UPLOAD: def t1(self): # run_with_client(self.client) while (1): - self.client.publish('demo', 'test',qos=0) + self.client.publish('demo', 'test', qos=0) + time.sleep(60) + if __name__ == '__main__': up = UPLOAD()