Skip to content

Commit

Permalink
Python 3 compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
magmax committed May 25, 2014
1 parent 76e0093 commit 670d8aa
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions colorize/__main__.py
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
import sys
import colorize
from .colorize import Configuration
from .colorize import Colorize


def main():
conf = colorize.Configuration()
conf = Configuration()
conf.process()
c = colorize.Colorize(conf)
c.run()
sys.exit(c.return_code)
colorize = Colorize(conf)
colorize.run()
sys.exit(colorize.return_code)


if __name__ == '__main__':
Expand Down

0 comments on commit 670d8aa

Please sign in to comment.