[vdown commit] r75 - trunk

0 views
Skip to first unread message

codesite...@google.com

unread,
Feb 6, 2008, 3:52:44 PM2/6/08
to vdow...@googlegroups.com
Author: kopfgeldjaeger
Date: Wed Feb 6 12:51:14 2008
New Revision: 75

Modified:
trunk/main.py

Log:
nothing special again

Modified: trunk/main.py
==============================================================================
--- trunk/main.py (original)
+++ trunk/main.py Wed Feb 6 12:51:14 2008
@@ -93,7 +93,7 @@

class get_data(threading.Thread):
"""
- Fetch data from nachrichtenmann.de/cgi-bin/video/video.cgi
+ Fetch information
FIXME: make this a bit prettier
"""
def __init__(self, url):
@@ -148,10 +148,7 @@
"""
Check if we can write into a folder (creates a testfile there)
"""
- if os.path.isfile(os.path.join(dir, "vdown_test.testfile")): # do
not delete the test file if it exists
- EXISTS = True
- else:
- EXISTS = False
+ EXISTS=os.path.isfile(os.path.join(dir, "vdown_test.testfile")): #
do not delete the test file if it exists

try:
file = open(os.path.join(dir, "vdown_test.testfile"), "wb")

Reply all
Reply to author
Forward
0 new messages