def save(): with open(SESSION_DUMP_FILENAME, 'w+') as f: f.write(pyncm.DumpSessionAsString(GetCurrentSession())) return True
def save(): with open(session_file,'w+') as f: f.write(pyncm.DumpSessionAsString(GetCurrentSession())) return True