mirror of
https://github.com/apprenticeharper/DeDRM_tools
synced 2024-11-07 09:20:27 +00:00
Undefined name: Define RegError
This commit is contained in:
parent
a10d9a617f
commit
90335bb925
@ -40,6 +40,12 @@ from struct import pack, unpack, unpack_from
|
||||
import json
|
||||
import getopt
|
||||
|
||||
try:
|
||||
RegError
|
||||
except NameError:
|
||||
class RegError(Exception):
|
||||
pass
|
||||
|
||||
# Routines common to Mac and PC
|
||||
|
||||
# Wrap a stream so that output gets flushed immediately
|
||||
|
Loading…
Reference in New Issue
Block a user