From cab67ca2151d4cdc35410bdc6b8aabb793acd4a8 Mon Sep 17 00:00:00 2001 From: Otto winter Date: Fri, 29 Oct 2021 11:08:40 +0200 Subject: [PATCH] Fix main rename partitions url --- esphomeflasher/const.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/esphomeflasher/const.py b/esphomeflasher/const.py index 4e41f39..b647373 100644 --- a/esphomeflasher/const.py +++ b/esphomeflasher/const.py @@ -5,7 +5,7 @@ ESP32_DEFAULT_OTA_DATA = 'https://raw.githubusercontent.com/espressif/arduino-esp32/1.0.0/tools/partitions/boot_app0.bin' ESP32_DEFAULT_BOOTLOADER_FORMAT = 'https://raw.githubusercontent.com/espressif/arduino-esp32/' \ '1.0.4/tools/sdk/bin/bootloader_$FLASH_MODE$_$FLASH_FREQ$.bin' -ESP32_DEFAULT_PARTITIONS = 'https://raw.githubusercontent.com/esphome/esphomeflasher/master/partitions.bin' +ESP32_DEFAULT_PARTITIONS = 'https://raw.githubusercontent.com/esphome/esphomeflasher/main/partitions.bin' # https://stackoverflow.com/a/3809435/8924614 HTTP_REGEX = re.compile(r'https?://(www\.)?[-a-zA-Z0-9@:%._+~#=]{2,256}\.[a-z]{2,6}\b([-a-zA-Z0-9@:%_+.~#?&/=]*)')