Skip to content

Commit 2f881ed

Browse files
authored
Fix find dirs to use beamline domain (#252)
* Fix find dirs to use beamline domain * Other missed lines using beamline location
1 parent 497529e commit 2f881ed

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

src/techui_builder/main_app.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ def main(
115115

116116
gui = Builder(techui=filename)
117117

118-
ixx_services_dir, synoptic_dir = find_dirs(filename, gui.conf.beamline.location)
118+
ixx_services_dir, synoptic_dir = find_dirs(filename, gui.conf.beamline.domain)
119119

120120
bob_file = find_bob(bobfile, synoptic_dir)
121121

@@ -126,7 +126,7 @@ def main(
126126
logger_.debug(
127127
f"""
128128
129-
Builder created for {gui.conf.beamline.location}.
129+
Builder created for {gui.conf.beamline.domain}.
130130
Services directory: {gui._services_dir}
131131
Write directory: {gui._write_directory}
132132
""", # noqa: SLF001
@@ -135,7 +135,7 @@ def main(
135135
gui.setup()
136136
gui.create_screens()
137137

138-
logger_.info(f"Screens generated for {gui.conf.beamline.location}.")
138+
logger_.info(f"Screens generated for {gui.conf.beamline.domain}.")
139139

140140
autofiller = Autofiller(bob_file, gui.conf.components)
141141
autofiller.read_bob()
@@ -145,4 +145,4 @@ def main(
145145

146146
autofiller.write_bob(dest_bob)
147147

148-
logger_.info(f"Screens autofilled for {gui.conf.beamline.location}.")
148+
logger_.info(f"Screens autofilled for {gui.conf.beamline.domain}.")

0 commit comments

Comments
 (0)