15 lines
325 B
Python
Executable file
15 lines
325 B
Python
Executable file
#!/usr/bin/python
|
|
# Copyright (c) Twisted Matrix Laboratories.
|
|
# See LICENSE for details.
|
|
|
|
import sys, os
|
|
extra = os.path.dirname(os.path.dirname(sys.argv[0]))
|
|
sys.path.insert(0, extra)
|
|
try:
|
|
import _preamble
|
|
except ImportError:
|
|
sys.exc_clear()
|
|
sys.path.remove(extra)
|
|
|
|
from twisted.conch.scripts.cftp import run
|
|
run()
|