Another attempt at grabbing current_series

This commit is contained in:
Simon Quigley 2024-12-17 01:58:13 -06:00
parent 1b9a9f9906
commit 70b0764a12

View File

@ -391,7 +391,8 @@ int main(int argc, char* argv[]) {
auto ubuntu_opt = lp->distributions["ubuntu"];
distribution ubuntu = ubuntu_opt.value();
distro_series current_series = ubuntu.current_series.value();
auto ds_opt = ubuntu.current_series;
distro_series current_series = ds_opt.value();
// Retrieve user and PPA
auto user_opt = lp->people[args.user];