From c6cf9597e7618e44dd315580e10c6e0cf1fa8135 Mon Sep 17 00:00:00 2001 From: Czy <651525974@qq.com> Date: Fri, 28 Aug 2020 21:43:15 +0800 Subject: [PATCH] Inherit the base class --- worker/weather.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/worker/weather.py b/worker/weather.py index 9015450..5eb3efc 100644 --- a/worker/weather.py +++ b/worker/weather.py @@ -1,11 +1,10 @@ import random import requests import datetime +from zzcore import StdAns -class Ans(object): +class Ans(StdAns): """docstring for Ans""" - def __init__(self): - super(Ans).__init__() def GETMSG(self): try: