Skip to content

Commit

Permalink
fix(package): 尝试修复 No module named babelfish.converters.alpha2
Browse files Browse the repository at this point in the history
  • Loading branch information
xuyanling committed Sep 4, 2023
1 parent 91b557d commit 1431fa6
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions package/nas-tools.spec
Original file line number Diff line number Diff line change
Expand Up @@ -91,12 +91,10 @@ def collect_datas():
import os
import guessit
datas = []
babelfish_path = babelfish.__path__[0]
guessit_path = guessit.__path__[0]
return [
(babelfish.__path__[0] + '/data', 'babelfish/data'),
(guessit_path.__path__[0] + '/config', 'guessit/config'),
(guessit_path.__path__[0] + '/data', 'guessit/data'),
(guessit.__path__[0] + '/config', 'guessit/config'),
(guessit.__path__[0] + '/data', 'guessit/data'),
]

datas = collect_datas()
Expand Down

0 comments on commit 1431fa6

Please sign in to comment.