Commit a4774b18 authored by juga's avatar juga
Browse files

Ops, fix reading file

parent 730344bf
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -105,7 +105,7 @@ def read_started_ts(conf):
    :param ConfigParser conf: configuration
    """
    with open(os.path.join(conf['paths']['datadir'],
                           conf['scanner']['started_filepath']), 'wt') as fd:
                           conf['scanner']['started_filepath']), 'r') as fd:
        scanner_started_ts = fd.read()
    return scanner_started_ts