Giter Club home page Giter Club logo

pinger's People

Contributors

renanqts avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

pinger's Issues

an issue with listener.py

I got a following traceback when execute listener.py.
Somebody can help me what's wrong at my side?

Thanks in advance!

Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/telegram/ext/dispatcher.py", line 343, in process_update
handler.handle_update(update, self, check, context)
File "/usr/local/lib/python2.7/dist-packages/telegram/ext/handler.py", line 120, in handle_update
return self.callback(dispatcher.bot, update, **optional_args)
File "listener.py", line 41, in cmd_start
if checkUserRead(chat_id,bot):
File "listener.py", line 30, in checkUserRead
result = db.checkUser(chat_id)
File "/home/pi/scripts/pinger/database.py", line 222, in checkUser
self.cursor.execute("SELECT level FROM pinger.user WHERE telegram_id = %s", (telegram_id))
File "/usr/lib/python2.7/dist-packages/MySQLdb/cursors.py", line 234, in execute
args = tuple(map(db.literal, args))
TypeError: argument 2 to map() must support iteration

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.