variable 'filename' in addPoiToDatabase
Bug #526492 reported by
Tom
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pyTOMTOM |
New
|
Undecided
|
Unassigned |
Bug Description
Traceback (most recent call last):
File "../share/
self.
UnboundLocalError: local variable 'filename' referenced before assignment
To post a comment you must log in.
perhaps.... replace by :
p = subprocess.Popen( cmd, shell=True ) poiCombo. append_ text( filename )
p.wait()
## on rajoute la nouvelle entree a la liste
self.
self.popup. destroy( )
self.Popup( _( "POI added to database" ) )