moved ALLOWED_CHARS

This commit is contained in:
2024-03-30 19:06:05 +01:00
parent 6b7a06d825
commit 784b79a676
2 changed files with 9 additions and 5 deletions
@@ -1,7 +1,16 @@
import string
from slic.utils.cprint import cprint, green, red
from slic.utils.printing import printable_dict
#TODO: remove the same from gui code
ALLOWED_CHARS = set(
string.ascii_letters + string.digits + "_-+."
)
class BrokerConfig:
def __init__(self, pgroup, rate_multiplicator=1, append_user_tag_to_data_dir=False, client_name=None, **kwargs):
-5
View File
@@ -1,5 +1,4 @@
import socket
import string
from datetime import datetime
import epics
@@ -31,10 +30,6 @@ SUBNET_TO_ENDSTATION = {
REFERENCE_DATETIME = datetime(2020, 5, 8, 8, 29, 52)
REFERENCE_PID = 11718051371
#TODO: remove the same from gui code
ALLOWED_CHARS = set(
string.ascii_letters + string.digits + "_-+."
)
def decide_get_current_pulseid():