Pour macOS
This commit is contained in:
@@ -60,7 +60,7 @@ class pluginsCenSavoie_v3:
|
|||||||
|
|
||||||
def initGui(self):
|
def initGui(self):
|
||||||
|
|
||||||
if sys.platform == 'linux':
|
if sys.platform in ('linux','darwin'):
|
||||||
os_user = os.environ['USER']
|
os_user = os.environ['USER']
|
||||||
else:
|
else:
|
||||||
os_user = os.environ['USERNAME']
|
os_user = os.environ['USERNAME']
|
||||||
|
|||||||
Reference in New Issue
Block a user