diff --git a/steam-workshop-download b/steam-workshop-download index 83ee6c1..93c4c4f 100755 --- a/steam-workshop-download +++ b/steam-workshop-download @@ -44,8 +44,8 @@ for item in response.json()['response']['publishedfiledetails']: # skip item? if ( exists(target_path) and # exists - item['time_updated'] == getmtime(target_path) and # mtime matches - item['file_size'] == getsize(target_path) # filesize matches + int(item['time_updated']) == int(getmtime(target_path)) and # mtime matches + int(item['file_size']) == int(getsize(target_path)) # filesize matches ): print(f"already satisfied", flush=True) continue