diff options
author | Lars Wirzenius <liw@liw.fi> | 2011-02-01 21:30:06 +0000 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2011-02-01 21:30:06 +0000 |
commit | 10517c005c7fb6c4b43cade43a506aa7d9415459 (patch) | |
tree | b035dadb7c3df595e1ad64ec84f30315e2a542b6 | |
parent | 82ecdda87b711f34d72e88421069cb7afdf9b984 (diff) | |
download | genbackupdata-10517c005c7fb6c4b43cade43a506aa7d9415459.tar.gz |
Fix bug that called wrong method name.
-rwxr-xr-x | genbackupdata | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/genbackupdata b/genbackupdata index 6233989..dbdb905 100755 --- a/genbackupdata +++ b/genbackupdata @@ -76,7 +76,7 @@ class GenbackupdataApp(cliapp.Application): self.write_bytes(f, chunk_size) bytes -= chunk_size if bytes > 0: - self.write(f, bytes) + self.write_bytes(f, bytes) f.close() def write_bytes(self, f, bytes): @@ -101,4 +101,4 @@ class GenbackupdataApp(cliapp.Application): if __name__ == '__main__': GenbackupdataApp().run() - + |