Skip to content

Commit 4748c54

Browse files
author
Juan Carlos
committed
Fix missing variable
1 parent 26ddd3b commit 4748c54

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

css_html_js_minify/minify.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ def make_arguments_parser():
205205
SHA1 HEX-Digest 11 Chars Hash on Filenames is used for Server Cache.
206206
CSS Properties are Alpha-Sorted, to help spot cloned ones, Selectors not.
207207
Watch works for whole folders, with minimum of ~60 Secs between runs.""")
208-
parser.add_argument('--version', action='version', version=__version__)
208+
parser.add_argument('--version', action='version', version=__init__.__version__)
209209
parser.add_argument('fullpath', metavar='fullpath', type=str,
210210
help='Full path to local file or folder.')
211211
parser.add_argument('--wrap', action='store_true',
@@ -252,7 +252,6 @@ def main():
252252
"""Main Loop."""
253253
args = make_arguments_parser()
254254
log.disable(log.CRITICAL) if args.quiet else log.debug("Max Logging ON")
255-
log.info(__doc__ + __version__)
256255
check_folder(os.path.dirname(args.fullpath))
257256
atexit.register(beep) if args.beep else log.debug("Beep sound at exit OFF")
258257
if os.path.isfile(args.fullpath) and args.fullpath.endswith(".css"):

0 commit comments

Comments
 (0)