#!/usr/bin/env python
# -*- coding: utf-8 -*-
from flask import Flask
from threading import Thread
from time import sleep
import bluePy
from flask_cors import CORS
app = Flask(__name__)
CORS(app)

class Th(Thread):
    def __init__(self, num):
        Thread.__init__(self)



    def run(self):
        defo=False
        while defo==False:
            sleep(10)
            bluePy.varrer(bluePy)




a = Th(1)
a.start()

@app.route('/macs', methods=['GET'])
def get_tasks():
    return bluePy.mac4tr
    

if __name__ == '__main__':
    app.run()

#!/usr/bin/env python
# -*- coding: utf-8 -*-
from flask import Flask
from threading import Thread
from time import sleep
import bluePy
from flask_cors import CORS
app = Flask(__name__)
CORS(app)

class Th(Thread):
    def __init__(self, num):
        Thread.__init__(self)



    def run(self):
        defo=False
        while defo==False:
            sleep(10)
            bluePy.varrer(bluePy)




a = Th(1)
a.start()

@app.route('/macs', methods=['GET'])
def get_tasks():
    return bluePy.mac4tr
    

if __name__ == '__main__':
    app.run()

#!/usr/bin/env python # -*- coding: utf-8 -*-