mirror of
https://github.com/haiwen/seahub.git
synced 2025-04-27 19:05:16 +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 = '-'
|
||||
"Load data table"
|
||||
try:
|
||||
fp=open('convert-utf-8.txt')
|
||||
fp=open(os.path.join(os.path.dirname(__file__), 'convert-utf-8.txt'))
|
||||
except IOError:
|
||||
print "Can't load data from convert-utf-8.txt\nPlease make sure this file exists."
|
||||
sys.exit(1)
|
||||
|
Loading…
Reference in New Issue
Block a user