Beispiel #1
0
 def deleteTag(self):
     result = SVCloud.remove_tag(self.pano.dbid, self.tagind) 
     if not result:
         print "Error: tag was not removed."
         return
     print "Tag removed."
     del self.pano.tags[self.tagind]
     if len(self.pano.tags) == 0:
         self.state.setNormal()
     else:
         if self.tagind == len(self.pano.tags):
             self.tagind = 0
         self.moveToTag()