removed test, token expired anyway

This commit is contained in:
shim_
2018-05-10 16:57:24 +02:00
parent 26579a25f1
commit 5c955d58d7

View File

@@ -116,11 +116,3 @@ class SeafileToken:
return "%s@%s" % (self.token,self.username) return "%s@%s" % (self.token,self.username)
if __name__ == "__main__":
token = SeafileToken("marvin.drescher@gmail.com",'7616975c4466fd328e4ab557899549775ba0b738')
#print token
cli = SeafileClient("https://seaf.shimun.net","marvin.drescher@gmail.com",token=token)
lib = cli.libraries()[0]
file = lib.upload("/home/marvin/Bilder/Singapore/IMG_20180302_183520.jpg","IMG_20180302_183520.jpg","/")
print file.share()