예제 #1
0
    }

from librarian_icon import SHRIMP_ICON

################################################################
## SHRIMP DESCRIPTION END, GLOBAL DECLARATIONS AND SHRIMP PROCS
################################################################

import wx
from gingerprawn.api import cooker

from gingerprawn.api import logger
logger.install()

from gingerprawn.api import conf
cfg = conf.get_conf()

from gingerprawn.api.utils.security import obfuscate_ob64 as obf
from gingerprawn.api.utils.security import clarify_ob64 as deobf

# i18n placeholder
_ = lambda x: x

_SHRIMP_ARGS = None
__SELF_FRAME = None

def shrimp_init():
    logdebug('librarian init routine')
    pass

def shrimp_threadproc(args):
예제 #2
0
from academic_icon import SHRIMP_ICON

################################################################
## SHRIMP DESCRIPTION END, GLOBAL DECLARATIONS AND SHRIMP PROCS
################################################################

from datetime import datetime as dt

import wx

from gingerprawn.api import cooker
from gingerprawn.api import logger
logger.install()

from gingerprawn.api import conf
cfg = conf.get_conf()
cfgcache = conf.get_conf('jwxtcache', 'txt')

_USERID_SECT = 'userid'

from gingerprawn.api.utils.security import obfuscate_ob64 as obf
from gingerprawn.api.utils.security import clarify_ob64 as deobf

# i18n placeholder
_ = lambda x: x

_SHRIMP_ARGS = None
__SELF_FRAME = None

def shrimp_init():
    logdebug('academic init routine')