aboutsummaryrefslogtreecommitdiffstats
path: root/src/eorzean_weather.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/eorzean_weather.rs')
-rw-r--r--src/eorzean_weather.rs2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/eorzean_weather.rs b/src/eorzean_weather.rs
index bb94c5d..4db4cb2 100644
--- a/src/eorzean_weather.rs
+++ b/src/eorzean_weather.rs
@@ -252,11 +252,9 @@ pub fn find_next_weather_occurance<T: ToUnixTimestamp>(zone_name: &str, current_
let current_epoch = current_time.to_unix_timestamp();
let mut current_interval = 1;
let mut next_weather = calculate_forecast(zone_name, current_epoch, current_interval);
- println!("Found next weather {:?}", next_weather);
while (next_weather.weather != target_weather) {
current_interval += 1;
next_weather = calculate_forecast(zone_name, current_epoch, current_interval);
- println!("Found next weather {:?}", next_weather);
}
next_weather
} \ No newline at end of file
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage