Skip to content
This repository has been archived by the owner on Jan 20, 2023. It is now read-only.

Commit

Permalink
Changed output to make it a bit more readable.
Browse files Browse the repository at this point in the history
  • Loading branch information
Nathan Hoad committed Apr 11, 2011
1 parent 2328cee commit ac8c38a
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions default.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,10 @@ def get_shares():
for s in shares:
print "FOUND SHARE: %s" % s
if s.startswith('addons://'):
print s, 'is an addon share, ignoring...'
print s + 'is an addon share, ignoring...'
shares.remove(s)
elif s.startswith('multipath://'):
print s, 'is a multipath share, splitting and adding individuals...'
print s + 'is a multipath share, splitting and adding individuals...'
s = s.replace('multipath://', '')
parts = s.split('/')
parts = [ clean_name(f) for f in parts ]
Expand All @@ -61,7 +61,7 @@ def get_shares():
if b:
results.append(b)
else:
print s, 'is a straight forward share, adding...'
print s + 'is a straight forward share, adding...'
results.append(s)

return results
Expand All @@ -82,7 +82,7 @@ def get_movie_sources():
f += os.sep

if f.startswith(s):
print s, 'was confirmed as a movie share using', f
print s + ' was confirmed as a movie share using ' + f
results.append(s)
shares.remove(s)
return results
Expand Down Expand Up @@ -132,7 +132,7 @@ def get_tv_sources():
for f in files:
for s in shares:
if f.startswith(s):
print s, 'was confirmed as a tv show share using', f
print s + ' was confirmed as a tv show share using ' + f
results.append(s)
shares.remove(s)
return results
Expand Down

0 comments on commit ac8c38a

Please sign in to comment.