blob: 184a88052378a64e081190e0dba5edb62c76a0c0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
import os
import os.path
class User :
def __init__(self,jid):
self.jid = jid
@staticmethod
def createDirectory(jid):
os.mkdir(jid)
@staticmethod
def subscribed(name):
return os.path.exists(name)
|