Skip to content

Commit

Permalink
Update cf2dns_actions.py
Browse files Browse the repository at this point in the history
z0z0r4 authored Jan 4, 2023
1 parent 02395c2 commit 00b66dd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cf2dns_actions.py
Original file line number Diff line number Diff line change
@@ -55,8 +55,8 @@ def log_info(msg: str):
# 解析生效时间,默认为600秒 如果不是DNS付费版用户 不要修改!!!
TTL = 600
# A为筛选出IPv4的IP AAAA为筛选出IPv6的IP
if len(sys.argv) >= 3:
RECORD_TYPE = sys.argv[2]
if len(sys.argv) >= 2:
RECORD_TYPE = sys.argv[1]
else:
RECORD_TYPE = "A"

0 comments on commit 00b66dd

Please sign in to comment.