We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5d26a0f commit e9b13f9Copy full SHA for e9b13f9
share/plug-ins/explorer.py
@@ -26,12 +26,11 @@ def can_execute(context):
26
filter=can_execute
27
)
28
def on_activate():
29
- gps = os.environ.copy()
30
restored = os.environ.copy()
31
- for k in gps.keys():
+ for k in os.environ.keys():
32
if k.startswith("GPS_STARTUP_"):
33
if gps[k] != "_ABSENT_VARIABLE_":
34
- restored[k[12:]] = gps[k]
+ restored[k[12:]] = os.environ[k]
35
36
path = GPS.current_context().directory()
37
0 commit comments