Permalink
Browse files

Addressed some syntax errors, and os.delete doesn't exist, either.

  • Loading branch information...
1 parent 72bf3ef commit 39d106be6786eadd29018ba07df4882250b018b0 NightMiles committed Mar 3, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 quake_pak.py
View
@@ -72,8 +72,8 @@ def get_packed(self):
filenamelen = len(self.filename_fixed)
if (filenamelen < PAKENTRY_FILENAME_LEN):
- ''.join(data,
- struct.pack('x' * (PAKENTRY_FILENAME_LEN - filenamelen)))
+ ''.join([data,
+ struct.pack('x' * (PAKENTRY_FILENAME_LEN - filenamelen))])
''.join([data, quake_data.DirectoryEntry.get_packed(self)])

0 comments on commit 39d106b

Please sign in to comment.