mirror of
https://github.com/LibreTranslate/LibreTranslate.git
synced 2025-06-21 16:41:08 +00:00
Fixed all pep8 errors
Removed unused imports, variables
This commit is contained in:
parent
202db95f52
commit
32061eed7b
11 changed files with 32 additions and 20 deletions
|
@ -1,8 +1,8 @@
|
|||
import os
|
||||
from appdirs import user_data_dir
|
||||
|
||||
# override polyglot path
|
||||
import polyglot
|
||||
from appdirs import user_data_dir
|
||||
|
||||
polyglot.polyglot_path = os.path.join(
|
||||
user_data_dir(appname="LibreTranslate", appauthor="uav4geo"), "polyglot_data"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue