From 5e0539ad511f85345f826604e6c2629cd08345de Mon Sep 17 00:00:00 2001 From: daid Date: Fri, 8 Nov 2013 18:08:18 +0100 Subject: [PATCH] Remove unused main() test function from youMagine class. --- Cura/util/youmagine.py | 8 -------- 1 file changed, 8 deletions(-) diff --git a/Cura/util/youmagine.py b/Cura/util/youmagine.py index f8ed8e68..85bbdb0f 100644 --- a/Cura/util/youmagine.py +++ b/Cura/util/youmagine.py @@ -237,11 +237,3 @@ class FakeYoumagine(Youmagine): def _request(self, method, url, postData = None, files = None): print "Err: Tried to do request: %s %s" % (method, url) - -def main(): - ym = Youmagine('j3rY9kQF62ptuZF7vqbR') - if not ym.isAuthorized(): - print "Failed to authorize" - return - for design in ym.listDesigns(): - print design['name'] -- 2.30.2