Code

Fix issue2550517
authorstefan <stefan@57a73879-2fb5-44c3-a270-3262357dd7e2>
Tue, 24 Feb 2009 05:07:03 +0000 (05:07 +0000)
committerstefan <stefan@57a73879-2fb5-44c3-a270-3262357dd7e2>
Tue, 24 Feb 2009 05:07:03 +0000 (05:07 +0000)
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4169 57a73879-2fb5-44c3-a270-3262357dd7e2

roundup/cgi/client.py

index 10d2aa2cd7df8c999f0cf2382582bdcc8e840aa9..7d534ca7563752a2126a8948f28d0ca6679386f6 100644 (file)
@@ -1300,7 +1300,7 @@ class Client:
         try:
             if offset:
                 f.seek(offset)
-                content = f.read(length)
+            content = f.read(length)
         finally:
             f.close()
         self.write(content)