mirror of
https://github.com/SickGear/SickGear.git
synced 2024-12-23 03:03:38 +00:00
9 lines
182 B
Python
9 lines
182 B
Python
|
from pkg_resources import resource_filename
|
||
|
|
||
|
DATA_ROOT = resource_filename('langcodes', 'data')
|
||
|
import os
|
||
|
|
||
|
|
||
|
def data_filename(filename):
|
||
|
return os.path.join(DATA_ROOT, filename)
|