mirror of
https://github.com/gotoeasy/glogcenter.git
synced 2025-09-15 12:58:34 +08:00
v0.18.1
This commit is contained in:
parent
1bea219b48
commit
811457c6e5
@ -76,6 +76,12 @@ def post_glc_data(glc_data, logLevel):
|
||||
if not url:
|
||||
return
|
||||
|
||||
# 允许省略接口路径,默认自动补足以简化使用
|
||||
if not url.endswith("/glc/v1/log/add"):
|
||||
if not url.endswith("/"):
|
||||
url += "/"
|
||||
url += "glc/v1/log/add"
|
||||
|
||||
data = {
|
||||
'text': glc_data.text,
|
||||
'date': glc_data.date,
|
||||
|
||||
@ -18,7 +18,7 @@ URL = 'https://github.com/gotoeasy/glogcenter'
|
||||
EMAIL = 'gotoeasy@163.com'
|
||||
AUTHOR = 'gotoeasy'
|
||||
REQUIRES_PYTHON = '>=3.6.0'
|
||||
VERSION = '0.3.0'
|
||||
VERSION = '0.17.1'
|
||||
|
||||
# What packages are required for this module to be executed?
|
||||
REQUIRED = [
|
||||
|
||||
Loading…
Reference in New Issue
Block a user