mirror of
https://github.com/lilydjwg/nvchecker.git
synced 2025-03-10 06:14:02 +00:00
set 'oldver' and 'newver' to none if not provided
This commit is contained in:
parent
5dd8a4df68
commit
653324ae6f
1 changed files with 1 additions and 0 deletions
|
@ -60,6 +60,7 @@ def write_verfile(file, versions):
|
||||||
class Source:
|
class Source:
|
||||||
started = False
|
started = False
|
||||||
tasks = 0
|
tasks = 0
|
||||||
|
oldver = newver = None
|
||||||
def __init__(self, file):
|
def __init__(self, file):
|
||||||
self.config = config = configparser.ConfigParser(
|
self.config = config = configparser.ConfigParser(
|
||||||
dict_type=dict, allow_no_value=True
|
dict_type=dict, allow_no_value=True
|
||||||
|
|
Loading…
Add table
Reference in a new issue