dosya yoksa ağlama
This commit is contained in:
@@ -51,6 +51,9 @@ def main():
|
|||||||
for dir in uniq(dirlist):
|
for dir in uniq(dirlist):
|
||||||
print "<Path fileType=\"\">/%s</Path>" % dir
|
print "<Path fileType=\"\">/%s</Path>" % dir
|
||||||
|
|
||||||
|
elif not os.path.exists(sys.argv[1]):
|
||||||
|
print "File %s not found" % sys.argv[1]
|
||||||
|
|
||||||
else:
|
else:
|
||||||
for file in show_info(sys.argv[1]):
|
for file in show_info(sys.argv[1]):
|
||||||
print "/%s" % file
|
print "/%s" % file
|
||||||
|
|||||||
Reference in New Issue
Block a user