Replaced getenv with os.getenv

This commit is contained in:
A_D authored and Athanasius committed 2021-04-01 14:45:45 +01:00
1 parent 0e339111f1
commit a5140f0be2
1 file changed
+1 -1
+1 -1
View File
@@ -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: