Using AuthKit-0.3.0pre5.
The code gets the file pointer but then reads from the filename string:
def __init__(self, filename):
string = None
try:
fp = open(filename, 'r')
string = filename.read()
finally:
fp.close()
should be:
On 16 maalis, 23:16, Chris Shenton [EMAIL PROTECTED] wrote:
I need to be able to create/modify/delete my AuthKit users through my
webapp. The documented built-in users can come from the .ini file
config vars or their own file. While I could conceivably change user
info and write it back out
I have a bunch of images with spaces in the filenames. I need to
embed the filename in the URL with the proper escaping, so:
6001/1355/SHELLNAIRN08OCT05 _24_.jpg
should be:
/attachments/6001/1355/SHELLNAIRN08OCT05%20_24_.jpg
I have a route like this:
NUMERIC = R\d+
Thanks, this is fixed now.
James
Chris Shenton wrote:
Using AuthKit-0.3.0pre5.
The code gets the file pointer but then reads from the filename string:
def __init__(self, filename):
string = None
try:
fp = open(filename, 'r')
string =
Hi Pauli,
I always implement my own database, permissions and valid() function in
my code. The users API is simply meant for use in small systems where
there isn't any need for a more sophisticated solution. Although you
could create your own implementation of the API to use a database, it is
Isn't + and %20 considered the same in HTTP??
On Mar 17, 12:12 am, Mike Orr [EMAIL PROTECTED] wrote:
I have a bunch of images with spaces in the filenames. I need to
embed the filename in the URL with the proper escaping, so:
6001/1355/SHELLNAIRN08OCT05 _24_.jpg
should be: