j4321 / tkcalendar

Calendar widget for Tkinter
https://pypi.python.org/pypi/tkcalendar
GNU General Public License v3.0
98 stars 33 forks source link

Fix #13: Error when creating DateEntry widget with python 3.6.5 #14

Closed j4321 closed 6 years ago

j4321 commented 6 years ago

Fix #13 by putting after_cancel in try/except block to catch the ValueError which is raised since Python 3.6.5 if there is nothing to cancel.

codecov[bot] commented 6 years ago

Codecov Report

Merging #14 into master will decrease coverage by 0.6%. The diff coverage is 50%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #14      +/-   ##
==========================================
- Coverage   92.43%   91.82%   -0.61%     
==========================================
  Files           2        2              
  Lines         872      881       +9     
==========================================
+ Hits          806      809       +3     
- Misses         66       72       +6
Impacted Files Coverage Δ
tkcalendar.py 90.92% <50%> (-0.84%) :arrow_down:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 27483ea...dff5bad. Read the comment docs.