Coder Social home page Coder Social logo

setu_mix's Issues

真的可以直接运行吗???

init里面的get_setu函数没有import的地方,难道你的代码可以根据mode(1.2.3)自动更改成import lolicon/acggov里面的get_setu_online或者get_setu_native?

random.choice的列表不应为空

当setu列表为空的时候,lolicon.py 224行和acggov.py 314行的random.choice会报错,建议改成这样:

	if uid == 0:
        fn_list = os.listdir(res.path)
        if len(fn_list) > 0:
            fn = random.choice(fn_list)
            if fn.split('.')[0].isdigit():
                uid = int(fn.split('.')[0])

本地图片刷新问题

使用setu fetch拉入图片,似乎会把原来的图片删除,因此本地图片永远只有20张

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.