Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Improved handling of empty directories in get_dirs method #51

Merged
merged 1 commit into from
Jan 3, 2024

Conversation

Ever3tt
Copy link
Contributor

@Ever3tt Ever3tt commented Dec 15, 2023

Description

@eduNEXT/dedalo @andrey-canon This PR wants to enhance the way in that the method works with null or empty values.
This is a previous used logic, which allows us to get specific values when they are available or to fall back to a default value in case there is no data, null, or empty data.

@bra-i-am
Copy link
Contributor

Hi @Ever3tt, thank you so much for taking the time to send us improvements.

According to my tests, is reached the main goal of this PR: if the theme from "THEME_OPTIONS" is not found, eox-theming uses first the theme defined in EOX_THEMING_DEFAULT_THEME_NAME ('bragi' in common.py or any other if is overridden), and, if none of these are found, uses the default theme from OpenEdx avoiding the app to get down.

I think is a pretty appropriate change. Let me share this with my team and again thanks a lot

Copy link
Contributor

@MaferMazu MaferMazu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me.

Copy link
Contributor

@bra-i-am bra-i-am left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@MaferMazu
Copy link
Contributor

@Ever3tt, can you sign your commit, please?

@Ever3tt
Copy link
Contributor Author

Ever3tt commented Jan 3, 2024

@MaferMazu @bra-i-am it has just been signed :D

@MaferMazu MaferMazu reopened this Jan 3, 2024
@MaferMazu MaferMazu merged commit bd10dc3 into eduNEXT:master Jan 3, 2024
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants