#!/usr/bin/env python3

import json
import os
from shlex import quote as shlex_quote

from tistory.api import Tistory, TistoryError
from tistory.auth import TistoryOAuth2


def load_config(fname):
    fname = shlex_quote(fname)
    cf_path = os.path.dirname(os.path.realpath(__file__))
    abspath = os.path.abspath(os.path.join(cf_path, '../config/', fname))

    with open(abspath) as data:
        config = json.loads(data.read())

    return config

if __name__ == "__main__":
    pass

@@ -21,70 +21,8 @@
 n3%0A%0A
-import json%0Aimport os%0Afrom shlex import quote as shlex_quote%0A%0A
 from
@@ -107,290 +107,8 @@
 h2%0A%0A
-%0Adef load_config(fname):%0A    fname = shlex_quote(fname)%0A    cf_path = os.path.dirname(os.path.realpath(__file__))%0A    abspath = os.path.abspath(os.path.join(cf_path, '../config/', fname))%0A%0A    with open(abspath) as data:%0A        config = json.loads(data.read())%0A%0A    return config%0A%0A
 if _

Remove load_config() from the tistory module