summaryrefslogtreecommitdiff
path: root/oi.py
diff options
context:
space:
mode:
authorTslil Clingman <tslil.clingman@gmail.com>2017-05-28 17:32:03 -0500
committerTslil Clingman <tslil.clingman@gmail.com>2017-05-28 17:32:03 -0500
commit721668ea57fda4254ceee9146c6b6bee470b3fc6 (patch)
treef0f7a8078c601d47dd521567749b215f9ca36373 /oi.py
parent6d1077a28b8d6f64ca72b9aa00f0b2cab97fb594 (diff)
Ran shellcheck, fixed (?) things
Diffstat (limited to 'oi.py')
-rwxr-xr-xoi.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/oi.py b/oi.py
index af29a2e..eb51c83 100755
--- a/oi.py
+++ b/oi.py
@@ -22,3 +22,11 @@ def gmail_local_to_remote(folder):
if folder == "INBOX": return folder
elif folder in ["Sent", "All"]: return new + " Mail"
return new
+
+def jhu_remote_to_local(folder):
+ if folder == "Sent Items": return "Sent"
+ else: return folder
+
+def jhu_local_to_remote(folder):
+ if folder == "Sent": return "Sent Items"
+ else: return folder