Switch to unified view
a/src/mediaserver/cdplugins/pycommon/conftree.py | b/src/mediaserver/cdplugins/pycommon/conftree.py | ||
---|---|---|---|
... |
... |
||
37 | self.confname = confname |
37 | self.confname = confname |
38 | 38 | ||
39 | try: |
39 | try: |
40 | f = open(confname, 'r') |
40 | f = open(confname, 'r') |
41 | except Exception as exc: |
41 | except Exception as exc: |
42 | #print("Open Exception: %s" % exc, sys.stderr) |
42 | #print("Open Exception: %s" % exc, file=sys.stderr)
|
43 | # File does not exist -> empty config, not an error. |
43 | # File does not exist -> empty config, not an error. |
44 | return |
44 | return |
45 | 45 | ||
46 | self.parseinput(f) |
46 | self.parseinput(f) |
47 | 47 |