from urllib import request
import threading
import queue

action = True
q = queue.LifoQueue()


def forward(st=False):
    global action
    if st and action:
        action = False
        r = request.urlopen("http://188.166.206.43/ddtY8o4vzyb3kJR_lZ-hprVsTVbsc9If/update/D13?value=1")
    elif not st and not action:
        action = True
        r = request.urlopen("http://188.166.206.43/ddtY8o4vzyb3kJR_lZ-hprVsTVbsc9If/update/D13?value=0")


def actions():
    while True:
        action = q.get()
        forward(action)
        q.queue.clear()


threading.Thread(target=actions).start()

3ef7579fd8c32844af340290ac5a9b611146bfce
<mask token>


def forward(st=False):
    global action
    if st and action:
        action = False
        r = request.urlopen(
            'http://188.166.206.43/ddtY8o4vzyb3kJR_lZ-hprVsTVbsc9If/update/D13?value=1'
            )
    elif not st and not action:
        action = True
        r = request.urlopen(
            'http://188.166.206.43/ddtY8o4vzyb3kJR_lZ-hprVsTVbsc9If/update/D13?value=0'
            )


def actions():
    while True:
        action = q.get()
        forward(action)
        q.queue.clear()


<mask token>

<mask token>


def forward(st=False):
    global action
    if st and action:
        action = False
        r = request.urlopen(
            'http://188.166.206.43/ddtY8o4vzyb3kJR_lZ-hprVsTVbsc9If/update/D13?value=1'
            )
    elif not st and not action:
        action = True
        r = request.urlopen(
            'http://188.166.206.43/ddtY8o4vzyb3kJR_lZ-hprVsTVbsc9If/update/D13?value=0'
            )


def actions():
    while True:
        action = q.get()
        forward(action)
        q.queue.clear()


threading.Thread(target=actions).start()

<mask token>
action = True
q = queue.LifoQueue()


def forward(st=False):
    global action
    if st and action:
        action = False
        r = request.urlopen(
            'http://188.166.206.43/ddtY8o4vzyb3kJR_lZ-hprVsTVbsc9If/update/D13?value=1'
            )
    elif not st and not action:
        action = True
        r = request.urlopen(
            'http://188.166.206.43/ddtY8o4vzyb3kJR_lZ-hprVsTVbsc9If/update/D13?value=0'
            )


def actions():
    while True:
        action = q.get()
        forward(action)
        q.queue.clear()


threading.Thread(target=actions).start()

from urllib import request
import threading
import queue
action = True
q = queue.LifoQueue()


def forward(st=False):
    global action
    if st and action:
        action = False
        r = request.urlopen(
            'http://188.166.206.43/ddtY8o4vzyb3kJR_lZ-hprVsTVbsc9If/update/D13?value=1'
            )
    elif not st and not action:
        action = True
        r = request.urlopen(
            'http://188.166.206.43/ddtY8o4vzyb3kJR_lZ-hprVsTVbsc9If/update/D13?value=0'
            )


def actions():
    while True:
        action = q.get()
        forward(action)
        q.queue.clear()


threading.Thread(target=actions).start()

from urllib import request
import threading
import queue

action = True
q = queue.LifoQueue()


def forward(st=False):
    global action
    if st and action:
        action = False
        r = request.urlopen("http://188.166.206.43/ddtY8o4vzyb3kJR_lZ-hprVsTVbsc9If/update/D13?value=1")
    elif not st and not action:
        action = True
        r = request.urlopen("http://188.166.206.43/ddtY8o4vzyb3kJR_lZ-hprVsTVbsc9If/update/D13?value=0")


def actions():
    while True:
        action = q.get()
        forward(action)
        q.queue.clear()


threading.Thread(target=actions).start()
