This commit is contained in:
Jabba 2020-11-04 21:53:22 +01:00 committed by GitHub
commit e44bd46346
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 2 deletions

View File

@ -1,4 +1,3 @@
from __future__ import print_function
import time
import json
import os
@ -27,7 +26,7 @@ def processNameOp(domain, value, test=False):
return False
if "zeronet" not in data and "map" not in data:
# Namecoin standard use {"map": { "blog": {"zeronet": "1D..."} }}
print("No zeronet and no map in ", data.keys())
print("No zeronet and no map in ", list(data))
return False
if "map" in data:
# If subdomains using the Namecoin standard is present, just re-write in the Zeronet way