From 6a4d6e38133b0442dd57998060d3320cc4e89403 Mon Sep 17 00:00:00 2001 From: jblu Date: Sun, 11 Jun 2023 14:44:27 -0500 Subject: [PATCH] disabled warning --- .drone.yml | 34 +++++++++++++++++----------------- crane.py | 1 + 2 files changed, 18 insertions(+), 17 deletions(-) diff --git a/.drone.yml b/.drone.yml index 78bfac7..fe15c96 100644 --- a/.drone.yml +++ b/.drone.yml @@ -1,18 +1,18 @@ -kind: pipeline -name: default - -steps: -- name: docker - image: plugins/docker - settings: - registry: git.jbranan.com - dry_run: false - username: jblu - password: - from_secret: gittea_drone - repo: git.jbranan.com/jblu/crane - tags: - - latest - when: - branch: +kind: pipeline +name: default + +steps: +- name: docker + image: plugins/docker + settings: + registry: git.jbranan.com + dry_run: false + username: jblu + password: + from_secret: gittea_drone + repo: git.jbranan.com/jblu/crane + tags: + - latest + when: + branch: - main \ No newline at end of file diff --git a/crane.py b/crane.py index f85a772..43d440a 100644 --- a/crane.py +++ b/crane.py @@ -10,6 +10,7 @@ import requests from tomllib import load import os from AppriseClient import apprise_notify +requests.packages.urllib3.disable_warnings() class Crn: def __init__(self):