
from macroeco import desktop
desktop()


import sys as _sys
from macroeco import desktop

if len(_sys.argv) > 1:
    desktop(_sys.argv[1])
else:
    desktop()

Allow compiled OS X app to take parameter file as input on command line
Allow compiled OS X app to take parameter file as input on command line

  
+ import sys as _sys
  from macroeco import desktop
- desktop()
  
+ if len(_sys.argv) > 1:
+     desktop(_sys.argv[1])
+ else:
+     desktop()
+ 
Allow compiled OS X app to take parameter file as input on command line
## Code Before:

from macroeco import desktop
desktop()

## Instruction:
Allow compiled OS X app to take parameter file as input on command line
## Code After:

import sys as _sys
from macroeco import desktop

if len(_sys.argv) > 1:
    desktop(_sys.argv[1])
else:
    desktop()
