mirror of
https://github.com/ciromattia/kcc
synced 2026-10-12 12:32:32 +00:00
Added proper startup scripts
Hacks that allow standalone startup of script inside module are messy.
This commit is contained in:
+1
-9
@@ -1,4 +1,3 @@
|
||||
#!/usr/bin/env python2
|
||||
# -*- coding: utf-8 -*-
|
||||
#
|
||||
# Copyright (c) 2012-2013 Ciro Mattia Gonano <ciromattia@gmail.com>
|
||||
@@ -1110,11 +1109,4 @@ def checkOptions():
|
||||
(int(X*1.5), int(Y*1.5)))
|
||||
image.ProfileData.Profiles["Custom"] = newProfile
|
||||
options.profile = "Custom"
|
||||
options.profileData = image.ProfileData.Profiles[options.profile]
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
freeze_support()
|
||||
Copyright()
|
||||
main(sys.argv[1:])
|
||||
sys.exit(0)
|
||||
options.profileData = image.ProfileData.Profiles[options.profile]
|
||||
Reference in New Issue
Block a user