Running in a Windows command (DOS) session, the output file is not showing
up in . as the help statement says it will. Instead it shows up in the same
directory as the input file.
I think the following code is at the root of the problem:
def filename_from_filepath(filepath):
""" Strip the path off a filepath to get a filename"""
try:
return filepath[filepath.rindex('/')+1:]
except ValueError:
return filepath
Windows uses backslashes, so the basename above is the full path.
Nobody/Anonymous ( nobody ) - 2007-07-27 00:40
4
Closed
None
Greg Caporaso
None
None
Public
|
Date: 2008-01-18 04:25
|
|
Date: 2008-01-06 04:30 Logged In: NO |
| Field | Old Value | Date | By |
|---|---|---|---|
| status_id | Open | 2008-01-18 20:44 | gregcaporaso |
| close_date | - | 2008-01-18 20:44 | gregcaporaso |
| priority | 5 | 2007-12-30 15:05 | gregcaporaso |
| assigned_to | nobody | 2007-10-23 16:59 | gregcaporaso |
Copyright © 2009 Geeknet, Inc. All rights reserved. Terms of Use