mirror of
https://github.com/EDCD/EDMarketConnector.git
synced 2025-06-16 23:32:23 +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_feed = 'https://raw.githubusercontent.com/EDCD/EDMarketConnector/releases/edmarketconnector.xml'
|
||||||
update_interval = 8*60*60
|
update_interval = 8*60*60
|
||||||
|
|
||||||
if getenv("EDMC_NO_UI"):
|
if os.getenv("EDMC_NO_UI"):
|
||||||
logger = logging.getLogger(appcmdname)
|
logger = logging.getLogger(appcmdname)
|
||||||
|
|
||||||
else:
|
else:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user