mirror of
https://gitlab.crans.org/mediatek/med.git
synced 2025-07-07 07:04:00 +02:00
Fixed publish date when there is only the year
This commit is contained in:
@ -2,6 +2,7 @@ from http.server import BaseHTTPRequestHandler, HTTPServer
|
||||
|
||||
import os
|
||||
import socket
|
||||
from time import sleep
|
||||
|
||||
"""
|
||||
GetBlue Android parameters
|
||||
@ -24,6 +25,8 @@ class Server(BaseHTTPRequestHandler):
|
||||
print("Hey j'ai un ISBN :", isbn)
|
||||
os.system("xdotool type " + isbn)
|
||||
os.system("xdotool key KP_Enter")
|
||||
sleep(1)
|
||||
os.system("xdotool click 1")
|
||||
|
||||
def do_HEAD(self):
|
||||
self._set_headers()
|
||||
|
Reference in New Issue
Block a user