From 1940175f197158b37c015b7cc90d89a32c252313 Mon Sep 17 00:00:00 2001 From: Lynne Date: Fri, 9 Nov 2018 21:26:37 +1000 Subject: [PATCH] okay this should really have fixed it now --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index 0cb931a..a30bd0e 100755 --- a/main.py +++ b/main.py @@ -164,7 +164,7 @@ for f in following: sys.exit(1) pleroma = False - if type(j['first']) != str: + if 'first' in j and type(j['first']) != str: print("Pleroma instance detected") pleroma = True j = j['first']