Fix problem with handling REG_QWORD in list values

This commit is contained in:
twangboy 2017-07-05 17:44:06 -06:00
parent fae46649e4
commit 00d9a52802
2 changed files with 4 additions and 2 deletions

View file

@ -150,7 +150,9 @@ class Registry(object): # pylint: disable=R0903
_winreg.REG_DWORD: 'REG_DWORD',
_winreg.REG_EXPAND_SZ: 'REG_EXPAND_SZ',
_winreg.REG_MULTI_SZ: 'REG_MULTI_SZ',
_winreg.REG_SZ: 'REG_SZ'
_winreg.REG_SZ: 'REG_SZ',
# REG_QWORD isn't in the winreg library
11: 'REG_QWORD'
}
self.opttype_reverse = {
_winreg.REG_OPTION_NON_VOLATILE: 'REG_OPTION_NON_VOLATILE',

View file

@ -27,7 +27,7 @@ except ImportError:
PY2 = sys.version_info[0] == 2
# The following used to make sure we are not
# testing already existing data
# Note strftime retunrns a str, so we need to make it unicode
# Note strftime returns a str, so we need to make it unicode
TIMEINT = int(time.time())
if PY2: