Some cleanup, and update to make those files usable both as self-executables and module stuff...
Also updated update_mo to allwo specifying a custom po/mo file.
This commit is contained in:
@@ -26,8 +26,11 @@ import os
|
||||
import sys
|
||||
from codecs import open
|
||||
|
||||
import settings
|
||||
import utils
|
||||
try:
|
||||
import settings
|
||||
import utils
|
||||
except:
|
||||
from . import (settings, utils)
|
||||
|
||||
TRUNK_PO_DIR = settings.TRUNK_PO_DIR
|
||||
BRANCHES_DIR = settings.BRANCHES_DIR
|
||||
|
||||
Reference in New Issue
Block a user