Skip to content
Snippets Groups Projects
Commit e07b7906 authored by Stefano Di Frischia's avatar Stefano Di Frischia
Browse files

L2SS-542: fix typos

parent 0a2cf8e9
No related branches found
No related tags found
1 merge request!240Resolve L2SS-542 "Add timescaledb views"
......@@ -3,7 +3,7 @@
import logging
from tango import DeviceProxy, AttributeProxy, DevState, DevFailed
from tangostationcontrol.toolkit.archiver_util import get_db_config, attribute_name_from_url, device_name_url
from toolkit.archiver_util import get_db_config, attribute_name_from_url, device_name_url
import time
import json
......@@ -277,7 +277,7 @@ class Archiver():
# search returns all matches in which attribute_name is part of the name,
# so check whether an exact match is included.
return attribute_name_url(attribute_name) in attributes
return attribute_name_from_url(attribute_name) in attributes
def update_archiving_attribute(self, attribute_name: str, polling_period: int, event_period: int, strategy: str = 'RUN'):
"""
......
#! /usr/bin/env python3
"""
Utility functions for the Archiver functionality.
"""
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment