Kaydet (Commit) 1ac1a587 authored tarafından Ömer SAVAŞ's avatar Ömer SAVAŞ 💬

Update index.py

üst e6e13cd0
...@@ -59,7 +59,7 @@ try: ...@@ -59,7 +59,7 @@ try:
oku = True oku = True
debug = True debug = True
son_kesme = [0 for x in range(20)] son_kesme = [0 for x in range(20)]
url = "https://cbs.kutahyaozid.gov.tr/tr/" url = "http://sunucu/ana/url/"
son_id = "" son_id = ""
foto_yol = "/var/www/html/foto/" foto_yol = "/var/www/html/foto/"
ekran_zaman_asimi = 2 ekran_zaman_asimi = 2
...@@ -443,7 +443,8 @@ try: ...@@ -443,7 +443,8 @@ try:
global r global r
ip = IP() ip = IP()
u = "api/card_id/aassdd/"+id.replace(" ", "%20")+"|"+ip #Tetiklenecek adres
u = "api/card_id/"+id.replace(" ", "%20")+"|"+ip
cal = threading.Thread(target=sunucu, args = (u, )) cal = threading.Thread(target=sunucu, args = (u, ))
cal.start() cal.start()
cal.join(1)#Timeout 1 cal.join(1)#Timeout 1
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment