All pastes #727385 Raw Edit

Something

public text v1 · immutable
#727385 ·published 2007-10-05 23:25 UTC
rendered paste body
--- axis.py	21 Sep 2007 03:12:44 -0000	1.123
+++ axis.py	5 Oct 2007 23:24:53 -0000
@@ -3399,6 +3443,8 @@ if args:
     open_file_guts(args[0])
 elif os.environ.has_key("AXIS_OPEN_FILE"):
     open_file_guts(os.environ["AXIS_OPEN_FILE"])
+elif inifile.find("DISPLAY", "OPEN_FILE"):
+    open_file_guts(inifile.find("DISPLAY", "OPEN_FILE"))
 elif not lathe:
     demofile = os.path.join(BASE, "share", "axis", "images", "axis.ngc")
     if os.path.exists(demofile):