From 5c955d58d79d50fc380a4b560e6f41d31fbfa43c Mon Sep 17 00:00:00 2001 From: shim_ <> Date: Thu, 10 May 2018 16:57:24 +0200 Subject: [PATCH] removed test, token expired anyway --- modules/seafapi.py | 8 -------- 1 file changed, 8 deletions(-) diff --git a/modules/seafapi.py b/modules/seafapi.py index 7a5ff42..621c3c1 100644 --- a/modules/seafapi.py +++ b/modules/seafapi.py @@ -116,11 +116,3 @@ class SeafileToken: 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() -