Skip to content

Instantly share code, notes, and snippets.

@gelendir
Created April 6, 2013 01:13
Show Gist options
  • Save gelendir/5324189 to your computer and use it in GitHub Desktop.
Save gelendir/5324189 to your computer and use it in GitHub Desktop.
CONFIGFILE_PATH = "~/.tiktok.conf"
config = None
def get_config():
global config
if not config:
config = loadconfig( configfile )
return config
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment