variable 'filename' in addPoiToDatabase

Bug #526492 reported by Tom
4
Affects Status Importance Assigned to Milestone
pyTOMTOM
New
Undecided
Unassigned

Bug Description

Traceback (most recent call last):
 File "../share/pytomtom/src/pytomtom.py", line 1897, in addPoiToDatabase
   self.poiCombo.append_text( filename )
UnboundLocalError: local variable 'filename' referenced before assignment

Revision history for this message
Tom (tsly) wrote :

perhaps.... replace by :

                p = subprocess.Popen( cmd, shell=True )
  p.wait()
  ## on rajoute la nouvelle entree a la liste
  self.poiCombo.append_text( filename )

 self.popup.destroy()
 self.Popup( _( "POI added to database" ) )

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.