commit files

This commit is contained in:
szakal
2024-09-25 12:22:14 +02:00
parent 61266427c6
commit 09b883c9eb
14 changed files with 1632 additions and 0 deletions

13
ythdd_globals.py Normal file
View File

@@ -0,0 +1,13 @@
#!/usr/bin/python3
import time
global starttime, apiRequests, apiFailedRequests, outsideApiHits
#def init():
# starttime = int(time.time())
#def notImplemented(data):
# return 501, f"not recognised/implemented: {data[0]}", []
def getUptime():
return int(time.time()) - starttime