diff options
| -rw-r--r-- | user.py | 14 |
1 files changed, 14 insertions, 0 deletions
@@ -0,0 +1,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)
\ No newline at end of file |
