53 |
53 |
54 # get a local eric7config.py out of the way |
54 # get a local eric7config.py out of the way |
55 if os.path.exists("eric7config.py"): |
55 if os.path.exists("eric7config.py"): |
56 os.rename("eric7config.py", "eric7config.py.orig") |
56 os.rename("eric7config.py", "eric7config.py.orig") |
57 try: |
57 try: |
58 from eric7config import getConfig |
58 from eric7.Globals import getConfig |
59 except ImportError: |
59 except ImportError: |
60 print("The eric IDE doesn't seem to be installed. Aborting.") |
60 print("The eric IDE doesn't seem to be installed. Aborting.") |
61 exit(1) |
61 exit(1) |
62 except SyntaxError: |
62 except SyntaxError: |
63 # an incomplete or old config file was found |
63 # an incomplete or old config file was found |