From c253398809694a9a00f754f66ea0c045c8093209 Mon Sep 17 00:00:00 2001 From: YuruC3 Date: Sun, 25 Jan 2026 00:04:48 +0100 Subject: [PATCH] Code works now from how it looks --- AiO_Container/code/main.py | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/AiO_Container/code/main.py b/AiO_Container/code/main.py index 9612f13..044c42b 100644 --- a/AiO_Container/code/main.py +++ b/AiO_Container/code/main.py @@ -46,7 +46,7 @@ OPNSENSEMIRRORLISTV6 = "/etc/debmirror/OPNsenseMirrorListV6" # Custom EXTRAURL = [] -if os.getenv("EXTRA_REPOS", 1): +if os.getenv("EXTRA_REPOS", True): try: with open(os.getenv("REPOFILE", "customRepoList.list"), 'r') as repoListFile: for repoUrl in repoListFile: @@ -388,21 +388,21 @@ def customLinksJob(): if __name__ == "__main__": - if os.getenv("EXTRA_REPOS", 1): + if os.getenv("EXTRA_REPOS", True): customLinksJob() - if os.getenv("PROXMOX_REPOS", 1): - proxmoxJob() + # if os.getenv("PROXMOX_REPOS", True): + # proxmoxJob() - if os.getenv("DOCKER_REPOS", 1): - dockerJob() + # if os.getenv("DOCKER_REPOS", True): + # dockerJob() - if os.getenv("DEBIAN_REPOS", 1): - debianJob() + # if os.getenv("DEBIAN_REPOS", True): + # debianJob() - if os.getenv("OPNSENSE_REPOS", 1): - opnsenseJob() \ No newline at end of file + # if os.getenv("OPNSENSE_REPOS", True): + # opnsenseJob() \ No newline at end of file