mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-06 07:49:52 +03:00
minor cleanup
This commit is contained in:
@@ -6,8 +6,7 @@ bag = {}
|
|||||||
exprs = [
|
exprs = [
|
||||||
(re.compile(r'^#define APP_VERSION\s+"(\S+)"'), 'app_version'),
|
(re.compile(r'^#define APP_VERSION\s+"(\S+)"'), 'app_version'),
|
||||||
(re.compile(r'^#define APP_NAME\s+"(\S+)"'), 'app_name'),
|
(re.compile(r'^#define APP_NAME\s+"(\S+)"'), 'app_name'),
|
||||||
(re.compile(r'^#define APP_HOSTNAME\s+"(\S+)"'), 'app_hostname'),
|
(re.compile(r'^#define APP_HOSTNAME\s+"(\S+)"'), 'app_hostname')
|
||||||
|
|
||||||
]
|
]
|
||||||
with open('./src/version.h', 'r') as f:
|
with open('./src/version.h', 'r') as f:
|
||||||
for l in f.readlines():
|
for l in f.readlines():
|
||||||
|
|||||||
Reference in New Issue
Block a user