Commit fe836fde authored by Robert Butora's avatar Robert Butora
Browse files

fixes bug where mcutout did cutouts without abs path /srv/cutout/*

parent 4f64f009
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -96,7 +96,7 @@ struct cut_resp_s one_cutout(const struct cut_param_s cut, const string fits_pat
      //uintmax_t filesize;
      const string relative_pathname = (cut.filename); // FIXME config wrong is http://...
      const string abs_fits_pathname = fits_path + '/' + relative_pathname;
      const string cutfitsname = generate_cut_fitsname(relative_pathname, cut.hdunum);
      const string cutfitsname = fits_cut_path + '/' + generate_cut_fitsname(relative_pathname, cut.hdunum);
      /*filesize =*/ cutout_file(
            abs_fits_pathname, cut.hdunum,
            cut.coord,