This commit is contained in:
耿伦伦
2021-12-01 17:21:27 +08:00
parent ecba1fbc31
commit 481c2f8b6b
13 changed files with 43 additions and 21 deletions

Binary file not shown.

10
scripts/utils.py Normal file
View File

@ -0,0 +1,10 @@
import requests
from config.helper import config
def getUserinfo(uid):
try:
r = requests.get(config()['api']['userinfo'] + str(uid))
return r.json()
except:
pass

View File

@ -39,6 +39,5 @@ class Handler(FileSystemEventHandler):
return None
elif event.event_type == 'created':
print('here')
q.put(event.src_path)