[ui] active by default the copy photos on import
[marvin.git] / run-marvin
blobec56ae545b7f5250eefd223fbbb0f14fc9ad731c
1 #!/usr/bin/python
2 ##
3 ## run-marvin
4 ## Login : <freyes@yoda>
5 ## Started on Tue Jul 6 18:12:23 2008 Felipe Reyes
6 ## $Id$
7 ##
8 ## Copyright (C) 2008 Felipe Reyes
9 ##
10 ## This file is part of Marvin.
12 ## Marvin is free software: you can redistribute it and/or modify
13 ## it under the terms of the GNU General Public License as published by
14 ## the Free Software Foundation, either version 3 of the License, or
15 ## (at your option) any later version.
17 ## Marvin is distributed in the hope that it will be useful,
18 ## but WITHOUT ANY WARRANTY; without even the implied warranty of
19 ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20 ## GNU General Public License for more details.
22 ## You should have received a copy of the GNU General Public License
23 ## along with this program. If not, see <http://www.gnu.org/licenses/>.
25 import os.path
26 import sys
28 curr_dir = os.path.abspath(".")
29 sys.path.append(curr_dir)
31 try:
32 from marvin.view import start
33 start()
34 except:
35 print "Could not be found the correct path to run marvin"