okay this should really have fixed it now
This commit is contained in:
parent
a16c32ac2e
commit
1940175f19
1 changed files with 1 additions and 1 deletions
2
main.py
2
main.py
|
@ -164,7 +164,7 @@ for f in following:
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
|
|
||||||
pleroma = False
|
pleroma = False
|
||||||
if type(j['first']) != str:
|
if 'first' in j and type(j['first']) != str:
|
||||||
print("Pleroma instance detected")
|
print("Pleroma instance detected")
|
||||||
pleroma = True
|
pleroma = True
|
||||||
j = j['first']
|
j = j['first']
|
||||||
|
|
Loading…
Reference in a new issue