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