mirror of
https://github.com/noDRM/DeDRM_tools.git
synced 2025-10-23 23:07:47 -04:00
Undefined name: Define RegError
This commit is contained in:
parent
a10d9a617f
commit
90335bb925
1 changed files with 6 additions and 0 deletions
|
|
@ -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…
Add table
Reference in a new issue