Remove 'global' for CONFIG_OPTIONS because it is redundant for dict (#1055)
This commit is contained in:
parent
cb4d9b23b2
commit
b1df230964
@ -64,7 +64,6 @@ CONFIG_OPTIONS = {
|
||||
|
||||
|
||||
def setConfigOption(opt, value):
|
||||
global CONFIG_OPTIONS
|
||||
if opt not in CONFIG_OPTIONS:
|
||||
raise KeyError('Unknown configuration option "%s"' % opt)
|
||||
if opt == 'imageAxisOrder' and value not in ('row-major', 'col-major'):
|
||||
|
Loading…
Reference in New Issue
Block a user