rabin 6 years ago
parent
commit
5b9416b3d1
2 changed files with 3 additions and 5 deletions
  1. 2 2
      service/skill/echo.py
  2. 1 3
      skill.py

+ 2 - 2
service/skill/echo.py

@@ -1,7 +1,7 @@
 # -*- coding: utf-8 -*-
 from demeter.core import *
-from service import *
-print(__path__)
+from skill import Skill
+print(Skill)
 class Echo(Skill):
 
     def handle(self, text, parsed):

+ 1 - 3
service/skill.py → skill.py

@@ -1,11 +1,9 @@
 # -*- coding: utf-8 -*-
-from __future__ import division
-from .__load__ import *
 from abc import ABCMeta, abstractmethod
 
 class Skill(metaclass=ABCMeta):
 
-		isImmersive = False
+	isImmersive = False
 
 	def init(self, robot):
 		self.priority = 0