mirror of
https://github.com/SickGear/SickGear.git
synced 2024-11-22 04:45:05 +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)
|