Habilitar apis
This commit is contained in:
		
							parent
							
								
									2fe7d676bb
								
							
						
					
					
						commit
						33b3ab4338
					
				
										
											Binary file not shown.
										
									
								
							
										
											Binary file not shown.
										
									
								
							| 
						 | 
					@ -24,7 +24,7 @@ class PanelIzquierdo:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        self.weather_label = tk.Label(clima_frame, text="Cargando clima...", bg="white", font=("Helvetica", 10), fg="black")
 | 
					        self.weather_label = tk.Label(clima_frame, text="Cargando clima...", bg="white", font=("Helvetica", 10), fg="black")
 | 
				
			||||||
        self.weather_label.pack(pady=5)
 | 
					        self.weather_label.pack(pady=5)
 | 
				
			||||||
        #self.update_weather() Comentado para que no gaste limite de requests en la api
 | 
					        self.update_weather() 
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        # Sección: Scraping
 | 
					        # Sección: Scraping
 | 
				
			||||||
        scraping_frame = tk.Frame(self.frame, bg="white", bd=2, relief="sunken")
 | 
					        scraping_frame = tk.Frame(self.frame, bg="white", bd=2, relief="sunken")
 | 
				
			||||||
| 
						 | 
					@ -57,7 +57,7 @@ class PanelIzquierdo:
 | 
				
			||||||
            noticias_frame, text="Cargando noticias...", bg="white", font=("Helvetica", 10), fg="black", wraplength=180, justify="left"
 | 
					            noticias_frame, text="Cargando noticias...", bg="white", font=("Helvetica", 10), fg="black", wraplength=180, justify="left"
 | 
				
			||||||
        )
 | 
					        )
 | 
				
			||||||
        self.news_label.pack(pady=5)
 | 
					        self.news_label.pack(pady=5)
 | 
				
			||||||
        #self.update_news()  Comentado para que no gaste limite de requests en la api
 | 
					        self.update_news()
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        self.frame.rowconfigure(2, weight=1)
 | 
					        self.frame.rowconfigure(2, weight=1)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue