Commit 055804a9 authored by Adrian DC's avatar Adrian DC
Browse files

fix(updates): ensure 'DEBUG_UPDATES_DISABLE' has non-empty value

Signed-off-by: default avatarAdrian DC <radian.dc@gmail.com>
parent 67c85410
Loading
Loading
Loading
Loading
+1 −1
Changes for src/package/updates.py: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -75,7 +75,7 @@ class Updates:
                return True

        # Check if not offline
        if Bundle.ENV_DEBUG_UPDATES_OFFLINE not in environ:
        if environ.get(Bundle.ENV_DEBUG_UPDATES_OFFLINE, ''):

            # Modules libraries, pylint: disable=import-outside-toplevel
            from update_checker import UpdateChecker