mirror of
				https://github.com/gutosie/neoboot.git
				synced 2025-11-03 20:55:47 +01:00 
			
		
		
		
	Add files via upload
This commit is contained in:
		@@ -860,15 +860,14 @@ class NeoBootImageChoose(Screen):
 | 
				
			|||||||
                    ybox.setTitle(_('Installation'))
 | 
					                    ybox.setTitle(_('Installation'))
 | 
				
			||||||
            else:
 | 
					            else:
 | 
				
			||||||
                try:
 | 
					                try:
 | 
				
			||||||
                    from Plugins.Extensions.NeoBoot.files.tools import Opis
 | 
					                                from Plugins.Extensions.ImageDownloader.main import STBmodelsScreen
 | 
				
			||||||
                    self.session.open(Opis)
 | 
					                                self.session.open(STBmodelsScreen)
 | 
				
			||||||
                except Exception as e:
 | 
					                except Exception as e:
 | 
				
			||||||
				loggscrash = time.localtime(time.time())
 | 
									loggscrash = time.localtime(time.time())
 | 
				
			||||||
				LogCrashGS('%02d:%02d:%d %02d:%02d:%02d - %s\r\n' % (loggscrash.tm_mday, loggscrash.tm_mon, loggscrash.tm_year, loggscrash.tm_hour, loggscrash.tm_min, loggscrash.tm_sec, str(e)))
 | 
									LogCrashGS('%02d:%02d:%d %02d:%02d:%02d - %s\r\n' % (loggscrash.tm_mday, loggscrash.tm_mon, loggscrash.tm_year, loggscrash.tm_hour, loggscrash.tm_min, loggscrash.tm_sec, str(e)))
 | 
				
			||||||
                                mess = _('Sorry cannot open Image Downloader.\nAccess Fails with Error code 0x05.')
 | 
					                                mess = _('Sorry cannot open Image Downloader.\nAccess Fails with Error code 0x05.')
 | 
				
			||||||
                                self.session.open(MessageBox, mess, MessageBox.TYPE_INFO)
 | 
					                                self.session.open(MessageBox, mess, MessageBox.TYPE_INFO)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					 | 
				
			||||||
    def InstallImageDownloader(self, yesno):		
 | 
					    def InstallImageDownloader(self, yesno):		
 | 
				
			||||||
        if yesno:
 | 
					        if yesno:
 | 
				
			||||||
            cmd = 'mkdir /tmp/install; touch /tmp/install/plugin.txt; rm -rf /tmp/*.ipk'
 | 
					            cmd = 'mkdir /tmp/install; touch /tmp/install/plugin.txt; rm -rf /tmp/*.ipk'
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user