It fixes #12

parent 8bd2fb51
......@@ -302,7 +302,7 @@ class MetadataManager (PyTango.Device_4Impl):
self.debug_stream("In read_metadataFile()")
#----- PROTECTED REGION ID(MetadataManager.metadataFile_read) ENABLED START -----#
if self.attr_metadataFile_read :
attr.set_value(self.Sanitize(self.attr_metadataFile_read))
attr.set_value(self.metadataWorker.Sanitize(self.attr_metadataFile_read))
else :
attr.set_value(self.DefaultFileName())
#----- PROTECTED REGION END -----# // MetadataManager.metadataFile_read
......
......@@ -37,7 +37,7 @@ class MetadataWorker():
'''
LOG = logging.getLogger("MetadataWorker")
# Allowed chars for folder and file names
validFilenameChars = "-_%s%s" % (string.ascii_letters, string.digits)
validFilenameChars = ".-_%s%s" % (string.ascii_letters, string.digits)
def __init__(self):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment