it could legit be .dockerignore...
All checks were successful
forgejo/scripts/pipeline/head This commit looks good
All checks were successful
forgejo/scripts/pipeline/head This commit looks good
This commit is contained in:
parent
103155c87b
commit
eba9a44717
2 changed files with 8 additions and 1 deletions
4
server/desec-ip-sync/.dockerignore
Normal file
4
server/desec-ip-sync/.dockerignore
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
.venv/
|
||||
**/.venv/
|
||||
__pycache__/
|
||||
*.py[cod]
|
||||
|
|
@ -9,6 +9,7 @@ import argparse
|
|||
from time import sleep
|
||||
from dotenv import load_dotenv
|
||||
import requests
|
||||
import json
|
||||
from collections import Counter
|
||||
|
||||
load_dotenv()
|
||||
|
|
@ -38,7 +39,9 @@ def getSubDomains():
|
|||
def getCurrentIP():
|
||||
rrsetList = getSubDomains().json()
|
||||
|
||||
for rrset in rrsetList:
|
||||
rrsetList_json = json.loads(rrsetList)
|
||||
|
||||
for rrset in rrsetList_json:
|
||||
print(type(rrset), repr(rrset))
|
||||
|
||||
#rrsetList.append(rrset[0])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue