Files
picard/tagger.py
Sambhav Kothari 9d000b299d Fix windows path
2018-01-29 02:00:44 +05:30

17 lines
335 B
Python
Executable File

#!/usr/bin/env python3
import os.path
import sys
sys.path.insert(0, '.')
from picard.tagger import main
# This is needed to find resources when using pyinstaller
if getattr(sys, 'frozen', False):
basedir = sys._MEIPASS
else:
basedir = os.path.dirname(os.path.abspath(__file__))
main(os.path.join(basedir, 'locale'), True)