gemini.git

going-flying.com gemini git repository

summary

tree

log

refs

277b0b0f8f1b8d5d05ef8ccf1463098373dd65fb - Matthew Ernisse - 1595950750

I almost always make this mistake once per script...

view tree

view raw

diff --git a/cgi-bin/vfdsay.py b/cgi-bin/vfdsay.py
index 9187e7c..b2266d1 100755
--- a/cgi-bin/vfdsay.py
+++ b/cgi-bin/vfdsay.py
@@ -66,7 +66,7 @@ if __name__ == '__main__':
 			'http://wy60.internal.ub3rgeek.net/update',
 			params={'msg': qs}
 		)
-		resp.raise_for_response()
+		resp.raise_for_status()
 	except Exception as e:
 		print(f'43 Error connecting to VFD: {e}\r\n')
 		sys.exit(0)