Skip to content

Commit ca793c6

Browse files
authored
Merge 31410d3 into 1af8775
2 parents 1af8775 + 31410d3 commit ca793c6

2 files changed

Lines changed: 10 additions & 10 deletions

File tree

source/core.py

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
# -*- coding: UTF-8 -*-
2-
#core.py
3-
#A part of NonVisual Desktop Access (NVDA)
4-
#Copyright (C) 2006-2018 NV Access Limited, Aleksey Sadovoy, Christopher Toth, Joseph Lee, Peter Vágner, Derek Riemer, Babbage B.V., Zahari Yurukov
5-
#This file is covered by the GNU General Public License.
6-
#See the file COPYING for more details.
2+
# A part of NonVisual Desktop Access (NVDA)
3+
# Copyright (C) 2006-2019 NV Access Limited, Aleksey Sadovoy, Christopher Toth, Joseph Lee, Peter Vágner,
4+
# Derek Riemer, Babbage B.V., Zahari Yurukov, Łukasz Golonka
5+
# This file is covered by the GNU General Public License.
6+
# See the file COPYING for more details.
77

88
"""NVDA core"""
99

@@ -36,6 +36,7 @@ class CallCancelled(Exception):
3636
import globalVars
3737
from logHandler import log
3838
import addonHandler
39+
import versionInfo
3940

4041
import extensionPoints
4142

@@ -229,8 +230,6 @@ def main():
229230
languageHandler.setLanguage(lang)
230231
except:
231232
log.warning("Could not set language to %s"%lang)
232-
import versionInfo
233-
log.info("NVDA version %s" % versionInfo.version)
234233
log.info("Using Windows version %s" % winVersion.winVersionText)
235234
log.info("Using Python version %s"%sys.version)
236235
log.info("Using comtypes version %s"%comtypes.__version__)

source/nvda.pyw

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1+
# -*- coding: UTF-8 -*-
12
#nvda.pyw
23
#A part of NonVisual Desktop Access (NVDA)
3-
#Copyright (C) 2006-2018 NV Access Limited, Aleksey Sadovoy, Babbage B.V., Joseph Lee
4+
#Copyright (C) 2006-2019 NV Access Limited, Aleksey Sadovoy, Babbage B.V., Joseph Lee, Łukasz Golonka
45
#This file is covered by the GNU General Public License.
56
#See the file COPYING for more details.
67

@@ -203,8 +204,8 @@ logHandler.initialize()
203204
logHandler.log.setLevel(logLevel)
204205
if logLevel is log.DEBUG:
205206
log.debug("Provided arguments: {}".format(sys.argv[1:]))
206-
207-
log.info("Starting NVDA")
207+
import buildVersion
208+
log.info("Starting NVDA version %s" % buildVersion.version)
208209
log.debug("Debug level logging enabled")
209210
if globalVars.appArgs.changeScreenReaderFlag:
210211
winUser.setSystemScreenReaderFlag(True)

0 commit comments

Comments
 (0)