Ignore:
Timestamp:
12/22/12 10:23:19 (11 years ago)
Author:
István Váradi <ivaradi@…>
Branch:
default
Phase:
public
Message:

Added the automatic saving of the PIREP (re #163)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/mlx/pirep.py

    r345 r393  
    155155            with open(path, "wb") as f:
    156156                pickle.dump(self, f)
    157             return True
     157            return None
    158158        except Exception, e:
    159             print "Failed saving PIREP to %s: %s" % (path, str(e))
    160             return False
     159            error = str(e)
     160            #print u"Failed saving PIREP to %s: %s" % (path, error)
     161            return error
Note: See TracChangeset for help on using the changeset viewer.