Changes in obi commands
This commit is contained in:
@ -20,7 +20,8 @@ It defines classes_and_methods
|
|||||||
default_config = { 'software' : "The OBITools",
|
default_config = { 'software' : "The OBITools",
|
||||||
'log' : False,
|
'log' : False,
|
||||||
'loglevel' : 'INFO',
|
'loglevel' : 'INFO',
|
||||||
'progress' : True
|
'progress' : True,
|
||||||
|
'defaultdms' : None
|
||||||
}
|
}
|
||||||
|
|
||||||
root_config_name='obi'
|
root_config_name='obi'
|
||||||
|
@ -14,7 +14,7 @@ cpdef CompressedFile uopen(str name, mode='r'):
|
|||||||
|
|
||||||
try:
|
try:
|
||||||
f = urlopen(name)
|
f = urlopen(name)
|
||||||
except ValueError:
|
except:
|
||||||
f = open(name,mode)
|
f = open(name,mode)
|
||||||
|
|
||||||
c = CompressedFile(f)
|
c = CompressedFile(f)
|
||||||
|
Reference in New Issue
Block a user