Commit 3a492104 authored by Jose Tiago Macara Coutinho's avatar Jose Tiago Macara Coutinho Committed by blissadm_ID31@bibhelm
Browse files

SPEC config: only write saving_directory if not empty

parent e30d66ae
......@@ -444,7 +444,8 @@ def lima_resetup(lima_name) '{
_limapar_set(lima_name, "image_flip", CCD_FLIP[ccd_u]["col_flip"], 0)
_limapar_set(lima_name, "image_flip", CCD_FLIP[ccd_u]["row_flip"], 1)
_limapar_set(lima_name, "saving_directory", CCD_DIR[ccd_u])
if(CCD_DIR[ccd_u] != 0 && CCD_DIR[ccd_u] != "")
_limapar_set(lima_name, "saving_directory", CCD_DIR[ccd_u])
_limapar_set(lima_name, "saving_prefix", CCD_PREFIX[ccd_u])
_limapar_set(lima_name, "saving_suffix", CCD_SUFFIX[ccd_u])
_limapar_set(lima_name, "saving_next_number", CCD_N[ccd_u])
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment