Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/tutorius
diff options
context:
space:
mode:
Diffstat (limited to 'tutorius')
-rw-r--r--tutorius/store.py12
1 files changed, 1 insertions, 11 deletions
diff --git a/tutorius/store.py b/tutorius/store.py
index 2e55d71..cf20dd0 100644
--- a/tutorius/store.py
+++ b/tutorius/store.py
@@ -328,14 +328,9 @@ class StoreProxy(object):
return tutorial_store_id
- if self.helper.iserror(response):
- return False
-
- return True
-
# Otherwise, we want to publish a new tutorial
if tutorial_info == None:
- return False
+ return -1
request_url = "/%s/publish/" % (self.tutorius_api)
@@ -354,11 +349,6 @@ class StoreProxy(object):
return id
- if self.helper.iserror(response):
- return False
-
- return True
-
def unpublish(self, tutorial_store_id):
"""
Removes a tutorial from the server. The user in the current session