aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorneodarz <neodarz@neodarz.net>2017-10-12 22:16:31 +0200
committerneodarz <neodarz@neodarz.net>2017-10-12 22:16:31 +0200
commit90012eea96d4453231db348bad4568572601b4b9 (patch)
tree9ac1555fd7e3d25d3945aa51e5fa309b439a7d6e
parent411fd3d10df1a617559de496e5e1fdbd2eabb204 (diff)
downloadsyncthingmanager-master.tar.xz
syncthingmanager-master.zip
[TEMPORARY FIX] Remove https warningHEADmaster
-rw-r--r--syncthingmanager/__init__.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/syncthingmanager/__init__.py b/syncthingmanager/__init__.py
index edded38..cae41bb 100644
--- a/syncthingmanager/__init__.py
+++ b/syncthingmanager/__init__.py
@@ -26,6 +26,9 @@ from textwrap import dedent
import platform
from math import floor
+import urllib3
+urllib3.disable_warnings(urllib3.exceptions.InsecureRequestWarning)
+
# Put globals here
__VERSION__ = '0.1.0'
__DEFAULT_CONFIG_LOCATION__ = '$HOME/.config/syncthingmanager/syncthingmanager.conf'