removed test, token expired anyway
This commit is contained in:
@@ -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()
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user