mirror of
https://github.com/shufflewzc/faker2.git
synced 2025-04-19 23:18:03 +08:00
24 lines
456 B
Python
24 lines
456 B
Python
#!/usr/bin/env python3
|
|
# -*- coding: utf-8 -*
|
|
'''
|
|
项目名称: JD-Script / jlhb
|
|
活动名称: 锦鲤红包-助力
|
|
Author: SheYu09
|
|
cron: 0 0 * * * jlhb.py
|
|
new Env('京东 -*- 锦鲤红包')
|
|
'''
|
|
import os
|
|
if os.path.exists('jd_jlhb.py'):
|
|
os.system('rm -rf jd_jlhb.so')
|
|
try:
|
|
from jd_jlhb import *
|
|
except:
|
|
try:
|
|
os.system('mv jd_jlhb.py jd_jlhb.so')
|
|
from jd_jlhb import *
|
|
except:
|
|
print('未知错误...')
|
|
exit()
|
|
|
|
if __name__ == '__main__':
|
|
start() |