diff --git a/ceshi.py b/ceshi.py index e005838..d2c5ca0 100644 --- a/ceshi.py +++ b/ceshi.py @@ -407,8 +407,9 @@ class UPLOAD: run_no_client() def t1(self): - run_with_client(self.client) - + # run_with_client(self.client) + while (1): + self.client.publish('demo', 'test',qos=0) if __name__ == '__main__': up = UPLOAD()