mirror of
https://github.com/EDCD/EDMarketConnector.git
synced 2025-04-21 11:27:38 +03:00
Replaced getenv with os.getenv
This commit is contained in:
parent
0e339111f1
commit
a5140f0be2
@ -36,7 +36,7 @@ copyright = '© 2015-2019 Jonathan Harris, 2020 EDCD'
|
||||
update_feed = 'https://raw.githubusercontent.com/EDCD/EDMarketConnector/releases/edmarketconnector.xml'
|
||||
update_interval = 8*60*60
|
||||
|
||||
if getenv("EDMC_NO_UI"):
|
||||
if os.getenv("EDMC_NO_UI"):
|
||||
logger = logging.getLogger(appcmdname)
|
||||
|
||||
else:
|
||||
|
Loading…
x
Reference in New Issue
Block a user