mirror of
https://github.com/haiwen/seahub.git
synced 2025-08-12 12:22:13 +00:00
Fix file path bug in cconvert
This commit is contained in:
parent
1107f7035b
commit
1bfd43b299
@ -25,7 +25,7 @@ class CConvert:
|
|||||||
self.spliter = '-'
|
self.spliter = '-'
|
||||||
"Load data table"
|
"Load data table"
|
||||||
try:
|
try:
|
||||||
fp=open('convert-utf-8.txt')
|
fp=open(os.path.join(os.path.dirname(__file__), 'convert-utf-8.txt'))
|
||||||
except IOError:
|
except IOError:
|
||||||
print "Can't load data from convert-utf-8.txt\nPlease make sure this file exists."
|
print "Can't load data from convert-utf-8.txt\nPlease make sure this file exists."
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
|
Loading…
Reference in New Issue
Block a user