mirror of
				https://github.com/gutosie/neoboot.git
				synced 2025-11-03 20:55:47 +01:00 
			
		
		
		
	Update plugin.py
This commit is contained in:
		@@ -1618,6 +1618,18 @@ class NeoBootImageChoose(Screen):
 | 
				
			|||||||
                self.session.open(MessageBox, mess, MessageBox.TYPE_INFO)
 | 
					                self.session.open(MessageBox, mess, MessageBox.TYPE_INFO)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    def bootIMG(self):
 | 
					    def bootIMG(self):
 | 
				
			||||||
 | 
					        count = 0
 | 
				
			||||||
 | 
					        for fn in listdir('' + getNeoLocation() + '/ImageBoot'):
 | 
				
			||||||
 | 
					                    dirfile = '' + getNeoLocation() + '/ImageBoot/' + fn
 | 
				
			||||||
 | 
					                    if os_isdir(dirfile):
 | 
				
			||||||
 | 
					                        count = count + 1
 | 
				
			||||||
 | 
					        if count > 1:
 | 
				
			||||||
 | 
					                    myerror = _('Sorry, this is not neoboot vip version.\nGet NEO-VIP version, more info press blue button.')
 | 
				
			||||||
 | 
					                    self.session.open(MessageBox, myerror, MessageBox.TYPE_INFO)
 | 
				
			||||||
 | 
					        else:
 | 
				
			||||||
 | 
					            self.bootIMG2()
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    def bootIMG2(self):
 | 
				
			||||||
        if getCheckActivateVip() == getBoxMacAddres():
 | 
					        if getCheckActivateVip() == getBoxMacAddres():
 | 
				
			||||||
            self.bootIMG2()        
 | 
					            self.bootIMG2()        
 | 
				
			||||||
        elif not fileExists('/.multinfo'):
 | 
					        elif not fileExists('/.multinfo'):
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user