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