Removed some platform checks

This commit is contained in:
2022-11-03 17:11:13 -06:00
parent b8637ba8ca
commit 1ded773e84
24 changed files with 67 additions and 246 deletions

View File

@@ -1,13 +0,0 @@
from __future__ import unicode_literals
import glob
import os.path
import platform
def find_datafiles():
system = platform.system()
if system == 'Windows':
file_ext = '*.exe'
else:
file_ext = '*.sh'
path = os.path.abspath(os.path.join(__path__[0], 'bootstrappers', file_ext))
return [('', glob.glob(path))]

View File

@@ -1,7 +1,6 @@
# -*- coding: utf-8 -*-
import application
from . import update
import platform
import logging
import output
from requests.exceptions import ConnectionError