Skip to content

Commit

Permalink
Fixed update cleanup code
Browse files Browse the repository at this point in the history
  • Loading branch information
smcclennon committed Nov 27, 2019
1 parent b6dc87f commit c54aadd
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Primer.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Primer
# github.com/smcclennon/Primer
ver = '1.0.1'
ver = '1.0.2'
proj = 'Primer'


Expand All @@ -11,7 +11,6 @@
updateAttempt = 0
print('Checking for updates...', end='\r')
try: # Remove previous version if just updated
proj = options['proj']
with open(f'{proj}.tmp', 'r') as content_file:
oldFile = str(content_file.read())
# If the old version has the current filename, don't delete
Expand Down

0 comments on commit c54aadd

Please sign in to comment.