|
@@ -21,7 +21,7 @@ class Ssgdfs(object):
|
|
|
self.core()
|
|
|
|
|
|
self.close()
|
|
|
- except BaseException, e:
|
|
|
+ except BaseException as e:
|
|
|
print e
|
|
|
self.start()
|
|
|
|
|
@@ -53,7 +53,7 @@ class Ssgdfs(object):
|
|
|
product.order(order, pic, config['site_id'], config['id'])
|
|
|
product.status(config['id'], 4)
|
|
|
break
|
|
|
- except BaseException, e:
|
|
|
+ except BaseException as e:
|
|
|
print e
|
|
|
product.status(config['id'], 2)
|
|
|
continue
|