mirror of
https://github.com/SnowMB/traefik-certificate-extractor.git
synced 2025-01-31 12:19:31 +08:00
bugfix tabs
This commit is contained in:
parent
5f1fdfbe02
commit
1943a2d6d5
@ -195,7 +195,7 @@ class Handler(FileSystemEventHandler):
|
|||||||
self.isWaiting = True #trigger the work just once (multiple events get fired)
|
self.isWaiting = True #trigger the work just once (multiple events get fired)
|
||||||
self.timer = threading.Timer(2, self.doTheWork)
|
self.timer = threading.Timer(2, self.doTheWork)
|
||||||
self.timer.start()
|
self.timer.start()
|
||||||
|
|
||||||
def doTheWork(self):
|
def doTheWork(self):
|
||||||
print('DEBUG : starting the work')
|
print('DEBUG : starting the work')
|
||||||
domains = createCerts(self.args)
|
domains = createCerts(self.args)
|
||||||
@ -204,7 +204,7 @@ class Handler(FileSystemEventHandler):
|
|||||||
|
|
||||||
with self.lock:
|
with self.lock:
|
||||||
self.isWaiting = False
|
self.isWaiting = False
|
||||||
print('DEBUG : finished')
|
print('DEBUG : finished')
|
||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
|
Loading…
x
Reference in New Issue
Block a user