Undefined name: Define RegError

pull/983/head
Christian Clauss 4 years ago committed by GitHub
parent a10d9a617f
commit 90335bb925
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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…
Cancel
Save