~russo79/mnemosyne-proj/force-matplotlib-pyqt4-backend

« back to all changes in this revision

Viewing changes to mnemosyne/mnemosyne/libmnemosyne/upgrades/upgrade3.py

  • Committer: Peter.Bienstman at UGent
  • Date: 2014-05-23 19:12:59 UTC
  • Revision ID: peter.bienstman@ugent.be-20140523191259-n787nf6vw2vnc6il
Fix overzealous warning about sister cards with different tags.

Show diffs side-by-side

added added

removed removed

Lines of Context:
14
14
    def run(self):
15
15
        if os.path.exists(os.path.join(self.config().config_dir, "config.db")):
16
16
            return
 
17
        if not os.path.exists(os.path.join(self.config().config_dir, "config")):
 
18
            return
17
19
        import cPickle
18
20
        old_config_file = \
19
21
            file(os.path.join(self.config().config_dir, "config"), "rb")