Skip to content

Commit

Permalink
Merge pull request #6 from Python3pkg/master
Browse files Browse the repository at this point in the history
Clean up code , remove .bak
  • Loading branch information
olucurious committed May 21, 2017
2 parents 6bd5d92 + dd1d899 commit ffd8fdd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 157 deletions.
8 changes: 4 additions & 4 deletions appframer/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,9 +85,9 @@ def generate(self):
screen_sizes[4.7] = (750, 1334)
screen_sizes[5.5] = (1242, 2208)
for iphone in screen_sizes:
print(("Now processing '%s' screen for %s inches" % (self.title_text, iphone)))
print("Now processing '%s' screen for %s inches" % (self.title_text, iphone))
self.process_iphone(iphone, screen_sizes[iphone][0], screen_sizes[iphone][1])
print(("Done with '%s' screen" % self.title_text))
print("Done with '%s' screen" % self.title_text)
print("------------------------------------------")

def process_iphone(self, dim, width, height):
Expand Down Expand Up @@ -147,7 +147,7 @@ def main():
framedshot.generate()
print("------------------------------------------")
print("Screenshots device frame processing complete...")
print(("Get the output at %s" % OUTPUT_DIR))
print("Get the output at %s" % OUTPUT_DIR)
else:
print(("Invalid input format in %s json file" % args['input']))
print("Invalid input format in %s json file" % args['input'])
sys.exit()
153 changes: 0 additions & 153 deletions appframer/app.py.bak

This file was deleted.

0 comments on commit ffd8fdd

Please sign in to comment.