mirror of
https://github.com/ioistired/pleroma-ebooks.git
synced 2025-01-24 11:11:42 +01:00
okay this should really have fixed it now
This commit is contained in:
parent
a16c32ac2e
commit
1940175f19
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…
x
Reference in New Issue
Block a user