1 |
#! /usr/bin/python |
#! /usr/bin/python |
2 |
# Copyright (C) 2001 by Intevation GmbH |
# Copyright (C) 2001, 2002 by Intevation GmbH |
3 |
# Authors: |
# Authors: |
4 |
# Jan-Oliver Wagner <[email protected]> |
# Jan-Oliver Wagner <[email protected]> |
5 |
# Bernhard Herzog <[email protected]> |
# Bernhard Herzog <[email protected]> |
34 |
|
|
35 |
def main(): |
def main(): |
36 |
"""Instantiate the application object and run the application""" |
"""Instantiate the application object and run the application""" |
|
global app |
|
37 |
app = ThubanApplication(0) |
app = ThubanApplication(0) |
38 |
if len(sys.argv) > 1: |
if len(sys.argv) > 1: |
39 |
app.OpenSession(sys.argv[1]) |
app.OpenSession(sys.argv[1]) |