Skip to content

Commit

Permalink
Fix web_quote
Browse files Browse the repository at this point in the history
  • Loading branch information
luk3yx committed Aug 13, 2021
1 parent d3b7009 commit 1b2a7fe
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion lurklite/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
static_cmds = None

# The version
miniirc.version = f'lurklite v0.4.18 (powered by {miniirc.version})'
miniirc.version = f'lurklite v0.4.19 (powered by {miniirc.version})'

# Throw errors
class BotError(Exception):
Expand Down
6 changes: 4 additions & 2 deletions lurklite/tempcmds.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,10 @@
# Command handler - Processes commands
#

import json, os, re, threading, time, urllib.request
from urllib.parse import quote as web_quote
import json, os, re, threading, time, urllib.request, urllib.parse

def web_quote(string):
return urllib.parse.quote(string, '')

# Try importing msgpack
try:
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

setup(
name = 'lurklite',
version = '0.4.18',
version = '0.4.19',
packages = ['lurklite'],
author = 'luk3yx',
description = 'A miniirc-based IRC bot.',
Expand Down

0 comments on commit 1b2a7fe

Please sign in to comment.