Diff
Differences From Artifact [0fccb051e3]:
- File config.py — part of check-in [84f2995f8d] at 2020-05-13 17:45:09 on branch trunk — Format exceptions log.() calls (user: mario, size: 14643) [annotate] [blame] [check-ins using]
To Artifact [f8ba9ac1af]:
- File config.py — part of check-in [d9a4e95fc9] at 2020-05-21 11:54:03 on branch trunk — Add more detailed user-agent string, introduce conf.version (from pmd) (user: mario, size: 14790) [annotate] [blame] [check-ins using]
| ︙ | ︙ | |||
98 99 100 101 102 103 104 105 106 107 108 109 110 111 |
del last["share"]
self.update(last)
self.migrate()
# store defaults in file
else:
self.save("settings")
self.firstrun = 1
# temporary files
if not os.path.exists(self.tmp):
os.mkdir(self.tmp)
# add argv
self.args = self.init_args(argparse.ArgumentParser())
| > > > > | 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 |
del last["share"]
self.update(last)
self.migrate()
# store defaults in file
else:
self.save("settings")
self.firstrun = 1
try:
self.version = plugin_meta(frame=3).get("version", "2.2")
except Exception as e:
self.version = "2.2"
# temporary files
if not os.path.exists(self.tmp):
os.mkdir(self.tmp)
# add argv
self.args = self.init_args(argparse.ArgumentParser())
|
| ︙ | ︙ |