Spaces:
				
			
			
	
			
			
		Build error
		
	
	
	
			
			
	
	
	
	
		
		
		Build error
		
	Update app.py
Browse files
    	
        app.py
    CHANGED
    
    | @@ -388,7 +388,7 @@ def find_rss(): | |
| 388 | 
             
                        error_box.append({"Name":rss_url,"Error":e,"Error Code":6})
         | 
| 389 | 
             
                        print(f'Exception::{e}')
         | 
| 390 | 
             
                        pass
         | 
| 391 | 
            -
                    json_object_valid = json.dumps(valid_box)
         | 
| 392 | 
             
                    with open("tmp3.json", "w") as outfile3:
         | 
| 393 | 
             
                        outfile3.write(json_object_valid)
         | 
| 394 | 
             
                    api.upload_file(
         | 
| @@ -405,7 +405,7 @@ def find_rss(): | |
| 405 |  | 
| 406 |  | 
| 407 | 
             
                print("DONE")
         | 
| 408 | 
            -
                json_object = json.dumps(out_box)
         | 
| 409 | 
             
                #json_object = json.dumps(out_box,indent=4)
         | 
| 410 | 
             
                with open("tmp2.json", "w") as outfile:
         | 
| 411 | 
             
                    outfile.write(json_object)
         | 
|  | |
| 388 | 
             
                        error_box.append({"Name":rss_url,"Error":e,"Error Code":6})
         | 
| 389 | 
             
                        print(f'Exception::{e}')
         | 
| 390 | 
             
                        pass
         | 
| 391 | 
            +
                    json_object_valid = json.dumps(valid_box, indent=4)
         | 
| 392 | 
             
                    with open("tmp3.json", "w") as outfile3:
         | 
| 393 | 
             
                        outfile3.write(json_object_valid)
         | 
| 394 | 
             
                    api.upload_file(
         | 
|  | |
| 405 |  | 
| 406 |  | 
| 407 | 
             
                print("DONE")
         | 
| 408 | 
            +
                json_object = json.dumps(out_box, indent=4)
         | 
| 409 | 
             
                #json_object = json.dumps(out_box,indent=4)
         | 
| 410 | 
             
                with open("tmp2.json", "w") as outfile:
         | 
| 411 | 
             
                    outfile.write(json_object)
         | 
 
			
