Blob Blame History Raw
diff -Naur geome-2.0-orig/geome geome-2.0/geome
--- geome-2.0-orig/geome	2013-10-06 16:02:15.000000000 -0400
+++ geome-2.0/geome	2016-12-02 20:01:56.857855349 -0500
@@ -70,7 +70,8 @@
 
 	desturl = fp.geturl()
 	content = fp.readline() 
-	if desturl == "http://fedoraproject.org/static/hotspot.txt" and content == "OK\n":
+	# someone or something removed the \n from the hotspot page :( Accept both in case it flips back
+	if desturl == "http://fedoraproject.org/static/hotspot.txt" and (content == "OK\n" or content == "OK"):
 		# clean internet, proceed
 		if args.address:
 			loc = geome.my_address()