mirror of
				https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
				synced 2025-10-31 10:48:02 +00:00 
			
		
		
		
	LFRequest: uses decode(utf-8) to be compatible with python3.5
This commit is contained in:
		| @@ -162,7 +162,7 @@ class LFRequest: | ||||
|             if (show_error): | ||||
|                 print("No response from "+self.requested_url) | ||||
|             return None | ||||
|         json_data = json.loads(responses[0].read()) | ||||
|         json_data = json.loads(responses[0].read().decode('utf-8')) | ||||
|         return json_data | ||||
|  | ||||
|     def addPostData(self, data): | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Jed Reynolds
					Jed Reynolds